示例#1
0
文件: file.py 项目: raidios/TACTIC
    def get_web_dir(my, snapshot=None):
        """go through the stored snapshot_code to get the actual path"""
        code = my.get_value("snapshot_code")
        from snapshot import Snapshot

        snapshot = Snapshot.get_by_code(code)
        return snapshot.get_web_dir()
示例#2
0
文件: file.py 项目: mincau/TACTIC
 def get_web_dir(self,snapshot=None):
     '''go through the stored snapshot_code to get the actual path'''
     code = self.get_value("snapshot_code")
     from snapshot import Snapshot
     snapshot = Snapshot.get_by_code(code)
     return snapshot.get_web_dir()
示例#3
0
文件: file.py 项目: rajubuddha/TACTIC
 def get_web_dir(my, snapshot=None):
     '''go through the stored snapshot_code to get the actual path'''
     code = my.get_value("snapshot_code")
     from snapshot import Snapshot
     snapshot = Snapshot.get_by_code(code)
     return snapshot.get_web_dir()