freebsd-ports/databases/py-carbon/files/patch-lib__carbon__util.py
Steve Wills f25b2a7304 - Enhance init script [1]
- Fix with newer Django [2]
- Lots of other cleanups and improvements, including moving the data to a more
  standard location
- Take maintainership, maintainer has not responded to PRs in many months

PR:		ports/181043 [1]
PR:		ports/185097 [2]
Submitted by:	brd [1]
Submitted by:	swills (myself) [2]
Approved by:	maintainer timeout (bsdports@wayfair.com, >3 months)
2014-02-18 15:43:57 +00:00

11 lines
404 B
Python

--- ./lib/carbon/util.py.orig 2013-12-22 16:45:46.061449090 +0000
+++ ./lib/carbon/util.py 2013-12-22 16:46:00.326083639 +0000
@@ -18,7 +18,7 @@
from time import sleep, time
from twisted.python.util import initgroups
from twisted.scripts.twistd import runApp
-from twisted.scripts._twistd_unix import daemonize
+from django.utils import daemonize
daemonize = daemonize # Backwards compatibility