projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84e678a
)
remove trailing slash from PITHOS_URL
author
Sofia Papagiannaki
<papagian@gmail.com>
Thu, 9 Feb 2012 11:35:51 +0000
(13:35 +0200)
committer
Sofia Papagiannaki
<papagian@gmail.com>
Thu, 9 Feb 2012 11:35:51 +0000
(13:35 +0200)
pithos/lib/util.py
patch
|
blob
|
history
diff --git
a/pithos/lib/util.py
b/pithos/lib/util.py
index
74adc49
..
d33fd76
100644
(file)
--- a/
pithos/lib/util.py
+++ b/
pithos/lib/util.py
@@
-51,6
+51,6
@@
def get_auth():
def get_url():
try:
- return os.environ['PITHOS_URL']
+ return os.environ['PITHOS_URL'].rstrip('/')
except KeyError:
return DEFAULT_URL