Hi All,

I'm trying to do some cleanup in my test environment (galaxy-dist)

and pgcleanup.py ends with

Traceback (most recent call last):
  File "./scripts/cleanup_datasets/pgcleanup.py", line 773, in <module>
    cleanup = Cleanup()
  File "./scripts/cleanup_datasets/pgcleanup.py", line 55, in __init__
    self.__connect_db()
  File "./scripts/cleanup_datasets/pgcleanup.py", line 114, in __connect_db
    self.conn = psycopg2.connect(**args)
TypeError: 'username' is an invalid keyword argument for this function

Unless I add 

args['user'] = args['username']
del args['username']


Is this a bug or a config error?

Eric