summaryrefslogtreecommitdiff
path: root/gbp/deb/source.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-04-29 14:45:44 +0200
committerGuido Günther <agx@sigxcpu.org>2013-04-29 14:48:24 +0200
commit45c2346f6a52aec196dd89b8d09d8b06d05b8867 (patch)
tree2ca5e6855cddf445e7667537a452411e4f751f4f /gbp/deb/source.py
parentaee9284d3dba4ab415321a2e389d62fe49ff9b91 (diff)
ChangeLog: Remove is_native
to avoid accidental usage. Use DebianSource.is_native instead.
Diffstat (limited to 'gbp/deb/source.py')
-rw-r--r--gbp/deb/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/deb/source.py b/gbp/deb/source.py
index 0944ce1..1e87312 100644
--- a/gbp/deb/source.py
+++ b/gbp/deb/source.py
@@ -69,7 +69,7 @@ class DebianSource(object):
pass # Fall back to changelog parsing
try:
- return self.changelog.is_native()
+ return not '-' in self.changelog.version
except IOError as e:
raise DebianSourceError("Failed to determine source format: %s" % e)