~mleinartas/graphite/debian-packaging

« back to all changes in this revision

Viewing changes to check-dependencies.py

  • Committer: Michael Leinartas
  • Date: 2012-01-02 19:06:56 UTC
  • mfrom: (258.1.387 newgraphite-bzr)
  • Revision ID: mleinartas@gmail.com-20120102190656-1gc9e5raoodfi4u2
Merge with lp:graphite

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
  print "Unable to import the 'twisted' package, do you have Twisted installed for python %s?" % py_version
142
142
  print "Without Twisted, you cannot run carbon on this server."
143
143
  warning += 1
144
 
 
 
144
else:
 
145
  tv = []
 
146
  tv = twisted.__version__.split('.')
 
147
  if int(tv[0]) < 8 or (int(tv[0]) == 8 and int(tv[1]) < 2):
 
148
    print "[WARNING]"
 
149
    print "Your version of Twisted is too old to run carbon."
 
150
    print "You will not be able to run carbon on this server until you upgrade Twisted >= 8.2."
 
151
    warning += 1
145
152
 
146
153
# Test for txamqp
147
154
try: