projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf81b7
)
DebianSource: fix is_native()
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Fri, 26 Apr 2013 09:58:38 +0000
(12:58 +0300)
committer
Guido Günther
<agx@sigxcpu.org>
Fri, 26 Apr 2013 20:05:43 +0000
(22:05 +0200)
Determine from changelog if debian/source/format does not provide any
type (1.0 format).
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/deb/source.py
patch
|
blob
|
history
diff --git
a/gbp/deb/source.py
b/gbp/deb/source.py
index
a23f8a7
..
0944ce1
100644
(file)
--- 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