summaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/pull.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/pull.py')
-rwxr-xr-xgbp/scripts/pull.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pull.py b/gbp/scripts/pull.py
index d0911983..15e4201a 100755
--- a/gbp/scripts/pull.py
+++ b/gbp/scripts/pull.py
@@ -160,7 +160,7 @@ def main(argv):
except CommandExecFailed:
retval = 1
except (GbpError, GitRepositoryError) as err:
- if len(err.__str__()):
+ if str(err):
gbp.log.err(err)
retval = 1