forked from pool/python-bugzilla
17 lines
581 B
Diff
17 lines
581 B
Diff
|
|
--- a/bugzilla/nvlbugzilla.py
|
||
|
|
+++ b/bugzilla/nvlbugzilla.py
|
||
|
|
@@ -82,7 +82,12 @@ class NovellBugzilla(Bugzilla34):
|
||
|
|
|
||
|
|
obs_url = self.__class__.obs_url
|
||
|
|
if not c.has_section(obs_url):
|
||
|
|
- return
|
||
|
|
+ if obs_url[-1:] == '/':
|
||
|
|
+ # strip the final slash and retry
|
||
|
|
+ self.__class__.obs_url = obs_url[:-1]
|
||
|
|
+ obs_url = self.__class__.obs_url
|
||
|
|
+ if not c.has_section(obs_url):
|
||
|
|
+ return
|
||
|
|
|
||
|
|
try:
|
||
|
|
user = c.get(obs_url, 'user')
|