diff options
author | Luca Falavigna <dktrkranz@debian.org> | 2011-09-10 10:58:07 +0200 |
---|---|---|
committer | Luca Falavigna <dktrkranz@debian.org> | 2011-09-10 10:58:07 +0200 |
commit | 9dc7be6c34e2bda6d0d96a450bb8eee03b277ba3 (patch) | |
tree | 29a18cc5c1c1ecfc1d1d49e768ef964b84ed14bf /engine/SCons/SConsign.py | |
parent | 8344b122eb4ee8818cde6ef2bb07726a672a2d23 (diff) |
Imported Upstream version 2.1.0upstream/2.1.0
Diffstat (limited to 'engine/SCons/SConsign.py')
-rw-r--r-- | engine/SCons/SConsign.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/engine/SCons/SConsign.py b/engine/SCons/SConsign.py index 0d78a6d..bbe475b 100644 --- a/engine/SCons/SConsign.py +++ b/engine/SCons/SConsign.py @@ -5,7 +5,7 @@ Writing and reading information to the .sconsign file or files. """ # -# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -27,7 +27,7 @@ Writing and reading information to the .sconsign file or files. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/SConsign.py 5134 2010/08/16 23:02:40 bdeegan" +__revision__ = "src/engine/SCons/SConsign.py 5357 2011/09/09 21:31:03 bdeegan" import SCons.compat @@ -104,9 +104,15 @@ def write(): try: syncmethod = db.sync except AttributeError: - pass # Not all anydbm modules have sync() methods. + pass # Not all dbm modules have sync() methods. else: syncmethod() + try: + closemethod = db.close + except AttributeError: + pass # Not all dbm modules have close() methods. + else: + closemethod() class SConsignEntry(object): """ |