summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/url.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-05-28 19:16:43 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-05-28 19:16:43 +0000
commit308f7c2df0e54dc4cab69088b1d6c1f181400b8f (patch)
tree8a8ba383c7885bfccef47010f5674d8ae769c455 /lib/sqlalchemy/engine/url.py
parentabb24ed648f1d22805e46e2a504b2dfed342bab8 (diff)
downloadsqlalchemy-308f7c2df0e54dc4cab69088b1d6c1f181400b8f.tar.gz
skips blank arguments
Diffstat (limited to 'lib/sqlalchemy/engine/url.py')
-rw-r--r--lib/sqlalchemy/engine/url.py2
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