2020-06-04 23:38:57 +01:00
|
|
|
# import troggle.settings as settings
|
|
|
|
# import os
|
|
|
|
# import urllib.request, urllib.parse, urllib.error
|
|
|
|
# from functools import reduce
|
2009-05-13 05:36:17 +01:00
|
|
|
|
2020-06-04 23:38:57 +01:00
|
|
|
# All unused, but kept pending deletion
|
2009-05-13 05:36:17 +01:00
|
|
|
|
2020-06-04 23:38:57 +01:00
|
|
|
# def urljoin(x, y): return x + "/" + y
|
2009-05-13 05:36:17 +01:00
|
|
|
|
2020-06-04 23:38:57 +01:00
|
|
|
# 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] != "/"]
|
2009-05-13 05:36:17 +01:00
|
|
|
|