projects
/
snf-cloudcms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daf1154
)
Variable name typo
author
Kostas Papadimitriou
<kpap@grnet.gr>
Tue, 31 Jul 2012 18:49:35 +0000
(21:49 +0300)
committer
Kostas Papadimitriou
<kpap@grnet.gr>
Tue, 31 Jul 2012 18:49:35 +0000
(21:49 +0300)
cloudcms/forms.py
patch
|
blob
|
history
diff --git
a/cloudcms/forms.py
b/cloudcms/forms.py
index
c14c909
..
e5cc0dc
100644
(file)
--- a/
cloudcms/forms.py
+++ b/
cloudcms/forms.py
@@
-49,7
+49,7
@@
RESIZE_GEOMETRY = getattr(settings, 'CMS_RST_IMPORT_RESIZE_GEOMETRY',
def service_from_filename(rst):
fname = os.path.basename(rst).replace(".rst","")
- service_slug = DEFAULT_SERVICE_MAP.get(fname, None)
+ service_slug = SERVICE_MAP.get(fname, None)
if not service_slug:
return None