Ignore:
Timestamp:
Dec 26, 2018, 8:00:40 PM (8 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
  • test/test_stat.py

    r1721 r1723  
    296296        """
    297297        line_template = \
    298           "-rw-r--r--   1   45854   200   4604   {0}   index.html"
     298          "-rw-r--r--   1   45854   200   4604   {}   index.html"
    299299        return line_template.format(self.datetime_string(time_float))
    300300
Note: See TracChangeset for help on using the changeset viewer.