#NEWLINE# def dropdb_command( self ) : #NEWLINE# #INDENT# 'Constructs the PostgreSQL dropdb command' #NEWLINE# command = 'dropdb --username={adminuser}' #NEWLINE# if self . database_host : #NEWLINE# #INDENT# command = ( '%s --host={host}' % command ) #NEWLINE# #UNINDENT# if self . database_port : #NEWLINE# #INDENT# command = ( '%s --port={port}' % command ) #NEWLINE# #UNINDENT# return ( '%s {databasename}' % command )