diff options
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/deb/source.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/deb/source.py b/gbp/deb/source.py index a23f8a7e..0944ce1a 100644 --- a/gbp/deb/source.py +++ b/gbp/deb/source.py @@ -63,7 +63,8 @@ class DebianSource(object): try: ff = self._vfs.open('debian/source/format') f = DebianSourceFormat(ff.read()) - return f.type == 'native' + if f.type: + return f.type == 'native' except IOError as e: pass # Fall back to changelog parsing |