Exemplo n.º 1
0
 def __str__(self):
     return "<{} + {}>".format(
         self.get_base_name(),
         relpath_url(self.cur_dir or "/", self.root_dir))
Exemplo n.º 2
0
 def __str__(self):
     return "<%s + %s>" % (self.get_base_name(),
                           relpath_url(self.cur_dir, self.root_dir))
Exemplo n.º 3
0
 def __str__(self):
     return "<ftp:%s%s + %s>" % (self.host, self.root_dir,
                                 relpath_url(self.cur_dir, self.root_dir))
Exemplo n.º 4
0
 def get_rel_path(self):
     path = relpath_url(self.target.cur_dir, self.target.root_dir)
     return normpath_url(join_url(path, self.name))
Exemplo n.º 5
0
 def __str__(self):
     return "<{} + {}>".format(
         self.get_base_name(), relpath_url(self.cur_dir or "/", self.root_dir)
     )
Exemplo n.º 6
0
 def __str__(self):
     return "<%s + %s>" % (self.get_base_name(),
                           relpath_url(self.cur_dir, self.root_dir))
Exemplo n.º 7
0
 def __str__(self):
     return "<ftp:%s%s + %s>" % (self.host, self.root_dir, relpath_url(self.cur_dir, self.root_dir))