Skip to content

Commit

Permalink
Renamed buildcache.py -> cache.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Nov 21, 2014
1 parent 9c7d867 commit 17dc9b5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion commands/buildcache_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run(results, cmdenv, tdb):
raise CommandLineError(
"Prices file does not exist: {}".format(pricesFilename))

from buildcache import buildCache
from cache import buildCache
buildCache(cmdenv, dbPath, sqlPath, pricesPath, importTables)

return None
Expand Down
4 changes: 2 additions & 2 deletions commands/update_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from tradeexcept import TradeException
from commands.exceptions import CommandLineError
import prices
import buildcache
import cache
import subprocess
import os
import pathlib
Expand Down Expand Up @@ -140,7 +140,7 @@ def getEditorPaths(cmdenv, editorName, envVar, windowsFolders, winExe, nixExe):

def importDataFromFile(cmdenv, tdb, path, stationID, dbFilename):
cmdenv.DEBUG0("Importing data from {}".format(str(path)))
buildcache.processPricesFile(cmdenv,
cache.processPricesFile(cmdenv,
db=tdb.getDB(),
pricesPath=path,
stationID=stationID,
Expand Down
4 changes: 2 additions & 2 deletions tradedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ def getMostRecentTimestamp(altPath):
else:
self.tdenv.DEBUG0("Building DB Cache")

import buildcache
buildcache.buildCache(self.tdenv, dbPath=self.dbPath, sqlPath=self.sqlPath, pricesPath=self.pricesPath, importTables=self.importTables)
import cache
cache.buildCache(self.tdenv, dbPath=self.dbPath, sqlPath=self.sqlPath, pricesPath=self.pricesPath, importTables=self.importTables)


############################################################
Expand Down

0 comments on commit 17dc9b5

Please sign in to comment.