summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-phab2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-phab b/git-phab
index ee9ff67..c2bd3e4 100755
--- a/git-phab
+++ b/git-phab
@@ -577,7 +577,7 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri)
try:
self.autostash |= self.repo.config_reader().get_value(
'phab', 'autostash')
- except configparser.NoOptionError:
+ except (configparser.NoOptionError, configparser.NoSectionError):
pass
# Try to guess the task from branch name