File: couchdbkit-with-keyword.patch

package info (click to toggle)
python-couchdbkit 0.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 640 kB
  • ctags: 1,257
  • sloc: python: 7,240; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 1,260 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Index: python-couchdbkit-0.6.3/couchdbkit/consumer/ceventlet.py
===================================================================
--- python-couchdbkit-0.6.3.orig/couchdbkit/consumer/ceventlet.py	2012-06-06 16:01:45.000000000 +0900
+++ python-couchdbkit-0.6.3/couchdbkit/consumer/ceventlet.py	2012-06-10 19:54:49.668735834 +0900
@@ -3,6 +3,8 @@
 # This file is part of couchdbkit released under the MIT license.
 # See the NOTICE for more information.
 
+from __future__ import with_statement
+
 import traceback
 
 import eventlet
@@ -12,7 +14,6 @@
 from .sync import SyncConsumer
 from ..utils import json
 
-
 class ChangeConsumer(object):
     def __init__(self, db, callback, **params):
         self.process_change = callback
Index: python-couchdbkit-0.6.3/couchdbkit/consumer/cgevent.py
===================================================================
--- python-couchdbkit-0.6.3.orig/couchdbkit/consumer/cgevent.py	2012-06-06 16:03:40.000000000 +0900
+++ python-couchdbkit-0.6.3/couchdbkit/consumer/cgevent.py	2012-06-10 19:54:49.668735834 +0900
@@ -3,6 +3,8 @@
 # This file is part of couchdbkit released under the MIT license.
 # See the NOTICE for more information.
 
+from __future__ import with_statement
+
 import traceback
 
 import gevent