forked from indymedia/epicyon
Disable functions
parent
87be0a1efd
commit
d259944eda
28
epicyon.py
28
epicyon.py
|
@ -15,9 +15,9 @@ from person import deactivateAccount
|
||||||
from skills import setSkillLevel
|
from skills import setSkillLevel
|
||||||
from roles import setRole
|
from roles import setRole
|
||||||
from webfinger import webfingerHandle
|
from webfinger import webfingerHandle
|
||||||
from posts import checkDomains
|
#from posts import checkDomains
|
||||||
from posts import getPublicPostDomains
|
#from posts import getPublicPostDomains
|
||||||
from posts import getPublicPostDomainsBlocked
|
#from posts import getPublicPostDomainsBlocked
|
||||||
from posts import sendBlockViaServer
|
from posts import sendBlockViaServer
|
||||||
from posts import sendUndoBlockViaServer
|
from posts import sendUndoBlockViaServer
|
||||||
from posts import createPublicPost
|
from posts import createPublicPost
|
||||||
|
@ -516,11 +516,11 @@ if args.postDomainsBlocked:
|
||||||
elif args.gnunet:
|
elif args.gnunet:
|
||||||
proxyType = 'gnunet'
|
proxyType = 'gnunet'
|
||||||
domainList = []
|
domainList = []
|
||||||
domainList = getPublicPostDomainsBlocked(None,
|
# domainList = getPublicPostDomainsBlocked(None,
|
||||||
baseDir, nickname, domain,
|
# baseDir, nickname, domain,
|
||||||
proxyType, args.port,
|
# proxyType, args.port,
|
||||||
httpPrefix, debug,
|
# httpPrefix, debug,
|
||||||
__version__, domainList)
|
# __version__, domainList)
|
||||||
for postDomain in domainList:
|
for postDomain in domainList:
|
||||||
print(postDomain)
|
print(postDomain)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
@ -555,12 +555,12 @@ if args.checkDomains:
|
||||||
elif args.gnunet:
|
elif args.gnunet:
|
||||||
proxyType = 'gnunet'
|
proxyType = 'gnunet'
|
||||||
maxBlockedDomains = 2
|
maxBlockedDomains = 2
|
||||||
checkDomains(None,
|
# checkDomains(None,
|
||||||
baseDir, nickname, domain,
|
# baseDir, nickname, domain,
|
||||||
proxyType, args.port,
|
# proxyType, args.port,
|
||||||
httpPrefix, debug,
|
# httpPrefix, debug,
|
||||||
__version__,
|
# __version__,
|
||||||
maxBlockedDomains, False)
|
# maxBlockedDomains, False)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.socnet:
|
if args.socnet:
|
||||||
|
|
Loading…
Reference in New Issue