mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Do not directly import sets. supybot.utils provides __builtins__['set']
This commit is contained in:
parent
828d41e37d
commit
6590bf898a
@ -1,5 +1,6 @@
|
|||||||
###
|
###
|
||||||
# Copyright (c) 2002-2005, Jeremiah Fincher
|
# Copyright (c) 2002-2005, Jeremiah Fincher
|
||||||
|
# Copyright (c) 2008, James Vega
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -33,7 +34,6 @@ import re
|
|||||||
import csv
|
import csv
|
||||||
import sys
|
import sys
|
||||||
import math
|
import math
|
||||||
import sets
|
|
||||||
import time
|
import time
|
||||||
import random
|
import random
|
||||||
import fnmatch
|
import fnmatch
|
||||||
@ -533,7 +533,7 @@ class PeriodicFileDownloader(object):
|
|||||||
self.lastDownloaded[filename] = 0
|
self.lastDownloaded[filename] = 0
|
||||||
else:
|
else:
|
||||||
self.lastDownloaded[filename] = 0
|
self.lastDownloaded[filename] = 0
|
||||||
self.currentlyDownloading = sets.Set()
|
self.currentlyDownloading = set()
|
||||||
self.downloadedCounter[filename] = 0
|
self.downloadedCounter[filename] = 0
|
||||||
self.getFile(filename)
|
self.getFile(filename)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user