Skip to content
Browse files

Fix intendation causing handle leak (spotted on PyPy 2.0b under Win32)

  • Loading branch information...
1 parent 5d40bf9 commit 943fffe2835dca4a996a6a171f026f6374ecaaa9 @peterjc peterjc committed Apr 10, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Tests/common_BioSQL.py
View
4 Tests/common_BioSQL.py
@@ -71,8 +71,8 @@ def check_config(dbdriver, dbtype, dbhost, dbuser, dbpasswd, testdb):
server = BioSeqDatabase.open_database(driver=DBDRIVER,
user=DBUSER, passwd=DBPASSWD,
host=DBHOST)
- server.close()
- del server
+ server.close()
+ del server
except Exception, e:
message = "Connection failed, check settings if you plan to use BioSQL: %s" % str(e)
raise MissingExternalDependencyError(message)

0 comments on commit 943fffe

Please sign in to comment.
Something went wrong with that request. Please try again.