This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fsevents import Observer | |
from fsevents import Stream | |
from datetime import datetime | |
import subprocess | |
import os | |
import time | |
PROJECT_PATH = '/Users/.../Project/GoogleAppEngine/stackprinter/' | |
TEMPLATE_COMPILE_PATH = os.path.join(PROJECT_PATH,'web','template.py') | |
VIEWS_PATH = os.path.join(PROJECT_PATH,'app','views') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if cmd != None: | |
cmd.set_api(api) | |
cmd.set_shared_storage(shared_storage) | |
try: | |
cmd.run() | |
cmd.unset_api() | |
cmd.unset_shared_storage() | |
api.get_command_repository().store_commands(cmd.get_next_commands()) | |
except Exception, ex: | |
logging.info(ex) |