repository/Base.py Changed indentation
I joined the lines to avoid indentantion warning
This commit is contained in:
parent
2248a85f64
commit
ad0920de72
@ -154,8 +154,7 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
|
|||||||
It is disabled by either setting the whole repository
|
It is disabled by either setting the whole repository
|
||||||
'readonly' or by using the 'createfolders' setting."""
|
'readonly' or by using the 'createfolders' setting."""
|
||||||
|
|
||||||
return (not self._readonly) and \
|
return (not self._readonly) and self.getconfboolean('createfolders', True)
|
||||||
self.getconfboolean('createfolders', True)
|
|
||||||
|
|
||||||
def makefolder(self, foldername):
|
def makefolder(self, foldername):
|
||||||
"""Create a new folder."""
|
"""Create a new folder."""
|
||||||
|
Loading…
Reference in New Issue
Block a user