summaryrefslogtreecommitdiffstats
path: root/core/fileAbstraction.py
blob: 0035bf8f4d7682c27c305666de3d553aa03551e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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] != "/"]