diff options
author | Mikolaj Golub <trociny@FreeBSD.org> | 2014-08-21 19:35:52 +0000 |
---|---|---|
committer | Mikolaj Golub <trociny@FreeBSD.org> | 2014-08-21 19:35:52 +0000 |
commit | 3a940f306ca0f0474be4f1f379b18a71ef284352 (patch) | |
tree | f552f0374f5b2a52240bea14b14ae30cc8a56442 /databases/py-swift/files/patch-utils.py | |
parent | Allow staging as a regular user (diff) |
- take over maintainership;
- update to 2.0.0;
- add @exec/@unexec for copying sample files to configuration.
Notes
Notes:
svn path=/head/; revision=365588
Diffstat (limited to '')
-rw-r--r-- | databases/py-swift/files/patch-utils.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/databases/py-swift/files/patch-utils.py b/databases/py-swift/files/patch-utils.py index 4675a9812c2e..f63a7cc61e79 100644 --- a/databases/py-swift/files/patch-utils.py +++ b/databases/py-swift/files/patch-utils.py @@ -1,6 +1,6 @@ ---- swift/common/utils.py.orig 2013-05-18 14:10:21.000000000 +0300 -+++ swift/common/utils.py 2013-05-18 14:09:06.000000000 +0300 -@@ -274,12 +274,12 @@ def drop_buffer_cache(fd, offset, length +--- swift/common/utils.py.orig 2014-07-07 19:08:31.000000000 +0300 ++++ swift/common/utils.py 2014-08-20 21:56:29.000000000 +0300 +@@ -552,12 +552,12 @@ """ global _posix_fadvise if _posix_fadvise is None: @@ -10,8 +10,8 @@ ret = _posix_fadvise(fd, ctypes.c_uint64(offset), ctypes.c_uint64(length), 4) if ret != 0: -- logging.warn("posix_fadvise64(%s, %s, %s, 4) -> %s" -+ logging.warn("posix_fadvise(%s, %s, %s, 4) -> %s" - % (fd, offset, length, ret)) - +- logging.warn("posix_fadvise64(%(fd)s, %(offset)s, %(length)s, 4) " ++ logging.warn("posix_fadvise(%(fd)s, %(offset)s, %(length)s, 4) " + "-> %(ret)s", {'fd': fd, 'offset': offset, + 'length': length, 'ret': ret}) |