Ignore:
Timestamp:
Dec 29, 2018, 9:49:25 PM (2 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Children:
1746:72d797a82efe, 1762:d5ce348ec42f
Message:
Unify formatting of XXX-style comments

Use consistent format `# XXX: ...` for all FIXME, TODO and XXX
comments.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/stat_cache.py

    r1730 r1745  
    9696        raise an exception.
    9797        """
    98         #XXX To be 100 % sure, this should be `host.sep`, but I don't
    99         # want to introduce a reference to the `FTPHost` object for
    100         # only that purpose.
     98        # XXX: To be 100 % sure, this should be `host.sep`, but I
     99        # don't want to introduce a reference to the `FTPHost` object
     100        # for only that purpose.
    101101        assert path.startswith("/"), ("{} must be an absolute path".
    102102                                      format(path))
     
    120120                    "entry for path {} has expired".format(path))
    121121        else:
    122             #XXX I don't know if this may raise a `CacheMissError` in
    123             # case of race conditions. I prefer robust code.
     122            # XXX: I don't know if this may raise a `CacheMissError`
     123            # in case of race conditions. I prefer robust code.
    124124            try:
    125125                return self._cache[path]
Note: See TracChangeset for help on using the changeset viewer.