# Sync PostgreSQL users with system users
# Copyright (C) 2001, 2002 James Troup <james@nocrew.org>
-# $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
################################################################################
-import pg, pwd, string, sys;
+import pg, pwd, sys;
import utils;
import apt_pkg;
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()