X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=julia;h=e3548784d608f7f5f4602200b156099d751a024d;hb=0ea570b0ff8bb87f8799053bbd4552d444bbe2f2;hp=e7dff3bc40dcdc24aadf857f4e3e0754ee21122e;hpb=a2c442c5a39e20adb1be634b7bfcd0b875cbb2aa;p=dak.git diff --git a/julia b/julia index e7dff3bc..e3548784 100755 --- a/julia +++ b/julia @@ -2,7 +2,7 @@ # Sync PostgreSQL users with system users # Copyright (C) 2001, 2002 James Troup -# $Id: julia,v 1.7 2002-08-14 00:40:19 troup Exp $ +# $Id: julia,v 1.8 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 @@ -30,7 +30,7 @@ ################################################################################ -import pg, pwd, string, sys; +import pg, pwd, sys; import utils; import apt_pkg; @@ -95,8 +95,8 @@ def main (): postgres_unames[uname] = ""; known_postgres_unames = {}; - for i in string.split(Cnf.get("Julia::KnownPostgres",""),","): - uname = string.strip(i); + for i in Cnf.get("Julia::KnownPostgres","").split(","): + uname = i.strip(); known_postgres_unames[uname] = ""; keys = postgres_unames.keys()