diff options
Diffstat (limited to 'gitosis/serve.py')
-rw-r--r-- | gitosis/serve.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gitosis/serve.py b/gitosis/serve.py index 867249e..d83b1d8 100644 --- a/gitosis/serve.py +++ b/gitosis/serve.py @@ -130,8 +130,7 @@ def serve( 'git extension should have been stripped: %r' % relpath repopath = '%s.git' % relpath fullpath = os.path.join(topdir, repopath) - if (not os.path.exists(fullpath) - and verb in COMMANDS_WRITE): + if not os.path.exists(fullpath): # it doesn't exist on the filesystem, but the configuration # refers to it, we're serving a write request, and the user is # authorized to do that: create the repository on the fly |