ad64409d2c129bc6d74f15130b067294dccac32c,cachefile.py,Cachefile,read_cache_file,#Cachefile#,113

Before Change


        if not day:
            day = datetime.datetime.now()

        cachefile = os.path.join(self.cachedir, day.strftime("%Y-%m-%d"))
        data = []
        try:
            with open(cachefile) as csvfp:

After Change


        if not day:
            day = datetime.datetime.now()

        cachefile = os.path.join(self.cachedir,
                                 day.strftime("%Y-%m-%d") + ".csv")
        if self.verbose:
            print("Trying to read cache file", cachefile)
        data = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: akkana/scripts
Commit Name: ad64409d2c129bc6d74f15130b067294dccac32c
Time: 2018-08-14
Author: akkana@shallowsky.com
File Name: cachefile.py
Class Name: Cachefile
Method Name: read_cache_file


Project Name: akkana/scripts
Commit Name: ad64409d2c129bc6d74f15130b067294dccac32c
Time: 2018-08-14
Author: akkana@shallowsky.com
File Name: cachefile.py
Class Name: Cachefile
Method Name: write_cache_file


Project Name: akkana/scripts
Commit Name: 7febde282c0a6dce22347167b7a589c469e61e2b
Time: 2020-10-05
Author: akkana@shallowsky.com
File Name: marsoppy.py
Class Name: OrbitViewWindow
Method Name: step_draw