~ubuntu-core-dev/ubuntu-release-upgrader/trunk

« back to all changes in this revision

Viewing changes to tests/interactive_fetch_release_upgrader.py

  • Committer: Colin Watson
  • Date: 2012-05-01 00:29:04 UTC
  • Revision ID: cjwatson@canonical.com-20120501002904-lykzoiapgdmbd7kf
Use Python 3-style print functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
 
 
3
from __future__ import print_function
 
4
 
3
5
import unittest
4
6
 
5
7
import os
32
34
        self.new_dist = None
33
35
 
34
36
    def new_dist_available(self, meta_release, upgradable_to):
35
 
        #print "new dist: ", upgradable_to.name
36
 
        #print "new dist: ", upgradable_to.version
37
 
        #print "meta release: %s" % meta_release
 
37
        #print("new dist: ", upgradable_to.name)
 
38
        #print("new dist: ", upgradable_to.version)
 
39
        #print("meta release: %s" % meta_release)
38
40
        self.new_dist = upgradable_to
39
41
 
40
42
    def testnewdist(self):