From: Seth Vidal Date: Mon, 20 Sep 2004 05:06:18 +0000 (+0000) Subject: updated to default to sha-1 checksums X-Git-Tag: upstream/0.9.9~286 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f36c93863257d588b4165297cd9a8e500eafcc9;p=tools%2Fcreaterepo.git updated to default to sha-1 checksums --- diff --git a/genpkgmetadata.py b/genpkgmetadata.py index de65e35..b8f38c2 100755 --- a/genpkgmetadata.py +++ b/genpkgmetadata.py @@ -52,7 +52,7 @@ def usage(): -q, --quiet = run quietly -g, --groupfile to point to for group information (precreated) -v, --verbose = run verbosely - -s, --checksum = md5 or sha - select type of checksum to use (default: md5) + -s, --checksum = md5 or sha - select type of checksum to use (default: sha) -h, --help = show this help -V, --version = output version -p, --pretty = output xml files in pretty format. @@ -158,7 +158,7 @@ def parseArgs(args): cmds['excludes'] = [] cmds['baseurl'] = None cmds['groupfile'] = None - cmds['sumtype'] = 'md5' + cmds['sumtype'] = 'sha' cmds['pretty'] = 0 try: