Mercurial > sqlpython
diff sqlpython/sqlpyPlus.py @ 395:bb434c623bca
about to give up on overriding __getattr__ in options
author | catherine@DellZilla |
---|---|
date | Wed, 07 Oct 2009 13:23:34 -0400 |
parents | 58e6d66794b0 |
children | 9c724e555c91 |
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py Wed Oct 07 12:00:55 2009 -0400 +++ b/sqlpython/sqlpyPlus.py Wed Oct 07 13:23:34 2009 -0400 @@ -1488,7 +1488,7 @@ if hasattr(opts, 'immediate') and opts.immediate: if hasattr(opts, 'all') and opts.all: self.perror('Cannot combine --all with --immediate - operation takes too long') - return [] + raise StopIteration else: self.pfeedback('Refreshing metadata for %s...' % username) schemas.refresh_one(username)