diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-05-01 08:56:47 +0100 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-05-31 15:21:12 -0400 |
commit | 6877964ef4482b993430964f8eebec4a78ae7b7c (patch) | |
tree | 691c7a1aa5e41685f5a6afe66d1b7f3152aa8a2c | |
parent | 937fb36ff5d82358d2038a2a0377e0a4098c6d81 (diff) |
If the user doesn’t have a `phab` section in their configuration, they
will hit this exception, spuriously.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Differential Revision: https://phabricator.freedesktop.org/D1738
-rwxr-xr-x | git-phab | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |