testtools: Update to new upstream revision.
[nivanova/samba-autobuild/.git] / lib / testtools / setup.py
index d07c8f29359cdd76de316b457eac160c9ac1e1d3..0fabb066939d0000cc7ee6ab7320e11552d9486d 100755 (executable)
@@ -45,7 +45,10 @@ def get_version():
         return pkg_info_version
     revno = get_revno()
     if revno is None:
-        return "snapshot"
+        # Apparently if we just say "snapshot" then distribute won't accept it
+        # as satisfying versioned dependencies. This is a problem for the
+        # daily build version.
+        return "snapshot-%s" % (version,)
     if phase == 'alpha':
         # No idea what the next version will be
         return 'next-r%s' % revno