git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
in debug mode print out stack regardless of the exception
[myslice.git]
/
manifold
/
metadata.py
diff --git
a/manifold/metadata.py
b/manifold/metadata.py
index
90a09ea
..
08fdf61
100644
(file)
--- a/
manifold/metadata.py
+++ b/
manifold/metadata.py
@@
-4,6
+4,8
@@
import os.path
from manifold.manifoldresult import ManifoldResult
from manifold.manifoldapi import ManifoldAPI
from manifold.manifoldresult import ManifoldResult
from manifold.manifoldapi import ManifoldAPI
+from django.contrib import messages
+
debug=False
debug=True
debug=False
debug=True
@@
-17,7
+19,7
@@
class MetaData:
self.auth=auth
self.hash_by_object={}
self.auth=auth
self.hash_by_object={}
- def fetch (self):
+ def fetch (self
, request
):
offline_filename="%s/../offline-metadata.json"%os.path.dirname(__file__)
if work_offline:
try:
offline_filename="%s/../offline-metadata.json"%os.path.dirname(__file__)
if work_offline:
try: