projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c354e3a
)
Remove unused variable
author
Magnus Hagander
<magnus@hagander.net>
Tue, 27 Oct 2020 09:34:45 +0000
(10:34 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Wed, 28 Oct 2020 15:39:27 +0000
(16:39 +0100)
pgweb/util/sitestruct.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/util/sitestruct.py
b/pgweb/util/sitestruct.py
index 9a04b6b976befef44ed42bd16c2f54e8ccd4a1d1..21e5214f60c84806b4a158e2cfdb8e43041704dd 100644
(file)
--- a/
pgweb/util/sitestruct.py
+++ b/
pgweb/util/sitestruct.py
@@
-18,7
+18,7
@@
def get_all_pages_struct(method='get_struct'):
# If the app has a specific appconfig, we still go directly for struct,so remove it
app = app[:app.index('.apps.')]
m = __import__(app + ".struct", {}, {}, method)
- except Exception
as e
:
+ except Exception:
# Failed to import - probably module didnd't exist
continue