X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/e928a3ec866f51a811299d2978f5e3d3b2c13819..7e20ab3a7194a445408261f7c1949f655f355acf:/stgit/utils.py diff --git a/stgit/utils.py b/stgit/utils.py index 3a480c0..a94257e 100644 --- a/stgit/utils.py +++ b/stgit/utils.py @@ -195,7 +195,7 @@ def patch_name_from_msg(msg): if not msg: return None - name_len = config.get('stgit.namelength') + name_len = config.getint('stgit.namelength') if not name_len: name_len = 30