Index: cms/sources.py |
=================================================================== |
--- a/cms/sources.py |
+++ b/cms/sources.py |
@@ -355,18 +355,18 @@ |
try: |
return memoized[args] |
except KeyError: |
return memoized.setdefault(args, func(*args)) |
wrapper.cache_clear = memoized.clear |
return wrapper |
-def create_source(path, cached=False, revision=None): |
- """Create a source from path and optional revision. |
+def create_source(path, cached=False): |
+ """Create a source from path. |
`cached` flag activates caching. This can be used to optimize performance |
if no changes are expected on the filesystem after the source was created. |
This is usually the case with static generation (as opposed to dynamic |
preview). |
If `settings.ini` in the source contains `[paths]` section with an |
`additional-paths` key that contains the list of additional root folders, |