2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-29 21:31:54 +00:00
troggle/core/fileAbstraction.py
2020-06-04 23:38:57 +01:00

16 lines
437 B
Python

# 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] != "/"]