The Voidspace Techie Blog

Gravatar Hi Michael,
your pathutils Lock.lock(...) method appears to contain a couple of bugs. Here is your source:
if os.apth.isdir(name):
raise os.error
else:
os.mkdir()

os.apth is mistyped os.path and os.mkdir() must be passed the dir's name


Gravatar Also, I think
while t < self.timeout:
should probably be
while t


Gravatar while t


Gravatar Bah ! Ok, thanks. I'll fix these.


Gravatar No unit tests, Fuzzyman?


Gravatar old code in that module I'm afraid - predating my time at Resolver when I caught the TDD religion.


Name:

Email:

URL:

Comment:  ? 

 

Commenting by HaloScan