From 1804b1f64d33291f1b6832384d56a7ed16fa47e6 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sat, 30 Jul 2011 10:17:25 +0200 Subject: Epydoc indentation Git-Dch: Ignore --- gbp/deb.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'gbp/deb.py') diff --git a/gbp/deb.py b/gbp/deb.py index ffd1508b..a45f18cf 100644 --- a/gbp/deb.py +++ b/gbp/deb.py @@ -407,6 +407,7 @@ def orig_file(cp, compression): def is_native(cp): """ Is this a debian native package + >>> is_native(dict(Version="1")) True >>> is_native(dict(Version="1-1")) @@ -425,6 +426,7 @@ def is_valid_upstreamversion(version): def get_compression(orig_file): """ Given an orig file return the compression used + >>> get_compression("abc.tar.gz") 'gzip' >>> get_compression("abc.tar.bz2") @@ -492,14 +494,15 @@ def parse_uscan(out): downloaded and could be located. If the tarball can't be located it returns (True, None). Returns (False, None) if the current version is up to date. - @param out: uscan output - @type out: string - @return: status and tarball name - @rtype: tuple >>> parse_uscan("up to date") (False, None) >>> parse_uscan("virt-viewer_0.4.0.orig.tar.gz") (True, '../virt-viewer_0.4.0.orig.tar.gz') + + @param out: uscan output + @type out: string + @return: status and tarball name + @rtype: tuple """ source = None if "up to date" in out: -- cgit v1.2.3