~cjwatson/duplicity/always-sftp

« back to all changes in this revision

Viewing changes to dist/makedist

  • Committer: loafman
  • Date: 2009-04-21 19:46:28 UTC
  • Revision ID: vcs-imports@canonical.com-20090421194628-ooh1t0et3hsk0cb3
Remove check for only one $version string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
    (outbuf, cnt) = re.subn("\$version", Version, inbuf)
42
42
    assert cnt != 0, "No $version string replaced in" + source
43
 
    assert cnt < 2, "Two or more $version strings found in" + source
44
43
 
45
44
    inbuf = outbuf
46
45
    (outbuf, cnt) = re.subn("\$reldate", Reldate, inbuf)