~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/util/urlgrabber/keepalive.py

  • Committer: Robert Collins
  • Date: 2006-03-01 08:40:35 UTC
  • mto: (1594.2.4 integration)
  • mto: This revision was merged to the branch mainline in revision 1596.
  • Revision ID: robertc@robertcollins.net-20060301084035-ce00abd11fe4da31
Change weave store to be a versioned store, using WeaveFiles which maintain integrity without needing explicit 'put' operations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
def DBPRINT(*args): print ' '.join(args)
111
111
 
112
112
import sys
113
 
_python_version = map(int, sys.version.split()[0].split('.'))
 
113
if hasattr(sys, 'version_info'):
 
114
    _python_version = sys.version_info
 
115
else:
 
116
    _python_version = map(int, sys.version.split()[0].split('.'))
114
117
if _python_version < [2, 4]: HANDLE_ERRORS = 1
115
118
else: HANDLE_ERRORS = 0
116
119