Browse files

vcs: Fix missing else clause in app_is_git_controlled()

Taking an idea from Davide in
#240 (comment)
  • Loading branch information...
1 parent 31f5209 commit 2a188cc21dab975491f279cee983d3088933010e @uliska uliska committed Oct 21, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 frescobaldi_app/vcs/__init__.py
View
3 frescobaldi_app/vcs/__init__.py
@@ -56,6 +56,9 @@ def app_is_git_controlled():
"what consequences to take."))
_app_is_git_controlled = False
return _app_is_git_controlled
+ else:
+ _app_is_git_controlled = False
+ return _app_is_git_controlled
# conditionally create app_repo object
app_is_git_controlled()

0 comments on commit 2a188cc

Please sign in to comment.