From f14f840e4ad64ca27126949d42677c989035a971 Mon Sep 17 00:00:00 2001 From: Scott Kitterman Date: Wed, 15 Apr 2009 22:56:07 -0400 Subject: [PATCH] Uploaded X.YY to RELEASE. --- debian/changelog | 9 +++++++-- debian/control | 2 +- dgetlp | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 10c6551..089393d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ubuntu-dev-tools (0.72) UNRELEASED; urgency=low +ubuntu-dev-tools (0.72) jaunty; urgency=low [ Jonathan Davies ] * README.updates: Added - lists steps to take when updating this package. @@ -22,7 +22,12 @@ ubuntu-dev-tools (0.72) UNRELEASED; urgency=low - Fully handle missing build log directories (LP: #342154). - More generalized approach to Distro-specific logic (LP: #342158). - -- Nathan Handler Sat, 28 Mar 2009 15:19:26 +0100 + [ Scott Kitterman ] + * dgetlp: + - Port to hashlib module instead of md5 (deprecated in Python 2.6) + * Bump minimum python-all-dev version to 2.5 + + -- Scott Kitterman Wed, 15 Apr 2009 22:51:14 -0400 ubuntu-dev-tools (0.71) jaunty; urgency=low diff --git a/debian/control b/debian/control index fd6c4dc..d0b3dae 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Ubuntu MOTU Developers Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk Vcs-Browser: http://codebrowse.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk/changes -Build-Depends: cdbs (>= 0.4.49), debhelper (>= 6), python-all-dev (>= 2.4) +Build-Depends: cdbs (>= 0.4.49), debhelper (>= 6), python-all-dev (>= 2.5) Build-Depends-Indep: python-central (>= 0.5) XS-Python-Version: >= 2.5 Homepage: https://launchpad.net/ubuntu-dev-tools/ diff --git a/dgetlp b/dgetlp index 2dfaf02..d6af8c3 100755 --- a/dgetlp +++ b/dgetlp @@ -30,7 +30,7 @@ import sys, os from optparse import OptionParser import urllib2 -import md5 +import hashlib import subprocess import GnuPGInterface from cStringIO import StringIO @@ -131,7 +131,7 @@ class DscParse(object): """ chunk_size = 1073741824 fd = open(name, 'rb') - res = md5.new() + res = hashlib.md5() if not sum: assert self.files, "I have no files" sum = [x[0] for x in self.files if x[2] == name][0]