Posted on Aug 16, 2010 by
Grumpy Hippo
I think simple decorator is good shortcut for lockfile.
Patch is attached.
- 001-decorator.patch 1.92KB
Comment #1
Posted on Oct 9, 2010 by Grumpy HippoI've forked pylockfile to http://github.com/jellycrystal/lokk and applied this patch.
Comment #2
Posted on Nov 8, 2010 by Grumpy LionThanks. Checked in as rev 116. I adapted it to the packages branch and added a simple unit test. Could use more though. Changes:
- renamed the decorator to "locked"
- deleted the silent arg
- only accept strings as path, no tuples or lists
Status: Fixed
Labels:
Type-Defect
Priority-Medium