updated to default to sha-1 checksums
authorSeth Vidal <skvidal@linux.duke.edu>
Mon, 20 Sep 2004 05:06:18 +0000 (05:06 +0000)
committerSeth Vidal <skvidal@linux.duke.edu>
Mon, 20 Sep 2004 05:06:18 +0000 (05:06 +0000)
genpkgmetadata.py

index de65e35ec3e1e13a7457745dca9e5cec056a20f2..b8f38c22eaf3dea7e322691c23f04bb94f397a21 100755 (executable)
@@ -52,7 +52,7 @@ def usage():
      -q, --quiet = run quietly
      -g, --groupfile <filename> 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: