From: Dave Borowitz <[email protected]>

Change-Id: Ibf27977bb529b292bdd1c6ce06e87f961b2d1ee9
---
 dulwich/_compat.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dulwich/_compat.py b/dulwich/_compat.py
index 403e068..c12badc 100644
--- a/dulwich/_compat.py
+++ b/dulwich/_compat.py
@@ -32,8 +32,9 @@ except ImportError:
     from cgi import parse_qs
 
 try:
-    from os import SEEK_END
+    from os import SEEK_CUR, SEEK_END
 except ImportError:
+    SEEK_CUR = 1
     SEEK_END = 2
 
 import struct
-- 
1.7.3.1


_______________________________________________
Mailing list: https://launchpad.net/~dulwich-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dulwich-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to