# HG changeset patch # User Pascal Volk # Date 1353419280 0 # Node ID d879f915c1c5bd22f07df36fa6c7b50c77d85f72 # Parent df1e3b67882a9d87990d817de85e1ce9bf6941ec pgsql/set-permissions.py: Ran 2to3 from Python 3.2.3. diff -r df1e3b67882a -r d879f915c1c5 pgsql/set-permissions.py --- a/pgsql/set-permissions.py Tue Nov 20 13:40:32 2012 +0000 +++ b/pgsql/set-permissions.py Tue Nov 20 13:48:00 2012 +0000 @@ -119,10 +119,10 @@ (dc_rw_tbls, db['dovecot'])) dbc.execute('GRANT SELECT ON %s TO %s' % (dc_ro_tbls, db['dovecot'])) dbc.execute('GRANT SELECT ON %s TO %s' % (pf_ro_tbls, db['postfix'])) - for table, columns in db['dovecot_tbls'].iteritems(): + for table, columns in db['dovecot_tbls'].items(): dbc.execute('GRANT SELECT (%s) ON %s TO %s' % (columns, table, db['dovecot'])) - for table, columns in db['postfix_tbls'].iteritems(): + for table, columns in db['postfix_tbls'].items(): dbc.execute('GRANT SELECT (%s) ON %s TO %s' % (columns, table, db['postfix'])) dbc.close()