forked from expo/troggle
16 lines
437 B
Python
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] != "/"]
|
|
|