diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-05-28 19:16:43 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-05-28 19:16:43 +0000 |
commit | 308f7c2df0e54dc4cab69088b1d6c1f181400b8f (patch) | |
tree | 8a8ba383c7885bfccef47010f5674d8ae769c455 /lib/sqlalchemy/engine/url.py | |
parent | abb24ed648f1d22805e46e2a504b2dfed342bab8 (diff) | |
download | sqlalchemy-308f7c2df0e54dc4cab69088b1d6c1f181400b8f.tar.gz |
skips blank arguments
Diffstat (limited to 'lib/sqlalchemy/engine/url.py')
-rw-r--r-- | lib/sqlalchemy/engine/url.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/url.py b/lib/sqlalchemy/engine/url.py index 548650322..5242254e2 100644 --- a/lib/sqlalchemy/engine/url.py +++ b/lib/sqlalchemy/engine/url.py @@ -37,7 +37,7 @@ class URL(object): sname = attribute_names.pop(0) if n is None: continue - if getattr(self, sname, None) is not None: + if getattr(self, sname, None): a[n] = getattr(self, sname) return a |