Commit 2ccb75fb authored by Barry Warsaw's avatar Barry Warsaw

__init__(): Initialize _fp instance variable to None.

parent b75535cc
......@@ -122,6 +122,7 @@ class CommitLog:
# BAW: is our filename unique enough? Are we opening it up with too
# much or too little security?
self._unlink = 1
self._fp = None
if file is None:
# Create the file from scratch. We know the file has to be in the
# init state, so just go ahead and write the appropriate header.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment