X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=test%2F003%2Ftest.py;fp=test%2F003%2Ftest.py;h=f8277f873e7a215f99f5894fc134786e7338a9cb;hb=c846e77a848d60dd115f00faa0d9a854161d99eb;hp=c1d1c334f4e1f9d6007f390ae8eb643df5d9ff91;hpb=0bd91e382e0186ea42b7f5c29932437acbfdcef0;p=dak.git diff --git a/test/003/test.py b/test/003/test.py index c1d1c334..f8277f87 100755 --- a/test/003/test.py +++ b/test/003/test.py @@ -2,7 +2,7 @@ # Check utils.parse_changes()'s for handling of multi-line fields # Copyright (C) 2000 James Troup -# $Id: test.py,v 1.1 2001-05-17 01:17:54 troup Exp $ +# $Id: test.py,v 1.2 2002-10-16 02:47:32 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ ################################################################################ -import os, string, sys +import os, sys sys.path.append(os.path.abspath('../../')); @@ -43,7 +43,7 @@ import utils def fail(message): sys.stderr.write("%s\n" % (message)); sys.exit(1); - + ################################################################################ def main (): @@ -57,7 +57,7 @@ def main (): if o != "": del changes["binary"] changes["binary"] = {} - for j in string.split(o): + for j in o.split(): changes["binary"][j] = 1 if not changes["binary"].has_key("krb5-ftpd"):