Ignore:
Timestamp:
Mar 31, 2013, 12:24:59 AM (7 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Use modern string formatting with `format` method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mock_ftplib.py

    r1142 r1196  
    5757    def __init__(self, path, mock_file_content=''):
    5858        if DEBUG:
    59             print 'File content: *%s*' % mock_file_content
     59            print "File content: *{0}*".format(mock_file_content)
    6060        self.file_path = path
    6161        self.mock_file_content = mock_file_content
     
    137137        path = args[-1]
    138138        if DEBUG:
    139             print 'dir: %s' % path
     139            print "dir: {0}".format(path)
    140140        path = self._transform_path(path)
    141141        if not self.dir_contents.has_key(path):
Note: See TracChangeset for help on using the changeset viewer.