Export to GitHub

pylockfile - issue #5

[patch] Shortcut decorator


Posted on Aug 16, 2010 by Grumpy Hippo

I think simple decorator is good shortcut for lockfile.

Patch is attached.

Attachments

Comment #1

Posted on Oct 9, 2010 by Grumpy Hippo

I've forked pylockfile to http://github.com/jellycrystal/lokk and applied this patch.

Comment #2

Posted on Nov 8, 2010 by Grumpy Lion

Thanks. 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