changeset 219:a5bd42b00565

wildcards ok
author catherine@Elli.myhome.westell.com
date Thu, 29 Jan 2009 15:20:40 -0500
parents 397979c7f6d6
children 01af6bfbe78f
files sqlpython/sqlpyPlus.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py	Thu Jan 29 14:45:56 2009 -0500
+++ b/sqlpython/sqlpyPlus.py	Thu Jan 29 15:20:40 2009 -0500
@@ -549,6 +549,7 @@
         if opts.dump:
             statekeeper = Statekeeper(self, ('stdout',))                        
         for (owner, object_type, object_name) in self.resolve_many(arg, opts):        
+            object_type = {'DATABASE LINK': 'DB_LINK'}.get(object_type) or object_type
             if opts.dump:
                 try:
                     os.makedirs(os.path.join(owner.lower(), object_type.lower().replace(' ','_')))