2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 15:21:52 +00:00
troggle/core/fileAbstraction.py

16 lines
437 B
Python
Raw Normal View History

# import troggle.settings as settings
# import os
# import urllib.request, urllib.parse, urllib.error
# from functools import reduce
# All unused, but kept pending deletion
# def urljoin(x, y): return x + "/" + y
# def dirsAsList(*path):
# return [d for d in listdir(*path).split("\n") if len(d) > 0 and d[-1] == "/"]
# def filesAsList(*path):
# return [d for d in listdir(*path).split("\n") if len(d) > 0 and d[-1] != "/"]