Ignore:
Timestamp:
Dec 26, 2018, 8:00:40 PM (6 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Remove positional argument specifiers for `format`

In strings for `format` calls, remove the digits for positional
arguments. For example, "{0}, {1}" becomes "{}, {}".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/error.py

    r1718 r1723  
    5959
    6060    def __str__(self):
    61         return "{0}\nDebugging info: {1}".format(self.strerror,
    62                                                  ftputil.version.version_info)
     61        return "{}\nDebugging info: {}".format(self.strerror,
     62                                               ftputil.version.version_info)
    6363
    6464
Note: See TracChangeset for help on using the changeset viewer.