diff options
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r-- | gbp/git/repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 265ea3f..5c13e40 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -1446,7 +1446,7 @@ class GitRepository(object): otherwise @rtype: C{bool} """ - if os.path.exists('.gitmodules'): + if os.path.exists(os.path.join(self.path, '.gitmodules')): return True else: return False |