fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using cache middleware instead of various caching micro-strategies,
[wolnelektury.git]
/
apps
/
catalogue
/
import_utils.py
diff --git
a/apps/catalogue/import_utils.py
b/apps/catalogue/import_utils.py
old mode 100755
(executable)
new mode 100644
(file)
index
bf36ea5
..
ca0c6ef
--- a/
apps/catalogue/import_utils.py
+++ b/
apps/catalogue/import_utils.py
@@
-14,4
+14,4
@@
class ORMDocProvider(DocProvider):
if slug == self.book.slug:
return open(self.book.xml_file.path)
else:
if slug == self.book.slug:
return open(self.book.xml_file.path)
else:
- return type(self.book).objects.get(slug=slug).xml_file
\ No newline at end of file
+ return type(self.book).objects.get(slug=slug).xml_file