diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-02-19 16:02:23 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-02-20 12:41:12 +0100 |
commit | 3ef32e2a51dd8bdcb904ccd8f33683149a55916a (patch) | |
tree | 97a5740902e7557c8f174e7a702d9ce3a54587b4 /gbp/scripts/import_dscs.py | |
parent | 4766e1190a7ccb4c5a8f21ce3e8919637ff9c142 (diff) |
Don't use dict.has_key()
Not existent in Python3
Diffstat (limited to 'gbp/scripts/import_dscs.py')
-rw-r--r-- | gbp/scripts/import_dscs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_dscs.py b/gbp/scripts/import_dscs.py index 440cec2c..4e445c31 100644 --- a/gbp/scripts/import_dscs.py +++ b/gbp/scripts/import_dscs.py @@ -159,7 +159,7 @@ def main(argv): gbp.log.err(err) ret = 1 finally: - if dirs.has_key('tmp'): + if 'tmp' in dirs: gbpc.RemoveTree(dirs['tmp'])() os.chdir(dirs['top']) |