Last active
August 29, 2015 14:23
-
-
Save satyamz/bbb79e86030beb85dea5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WgetFile: | |
""" WgetFile is a File Data Container object """ | |
def __init__ ( | |
self, | |
name, | |
content, #Removed default argument | |
timestamp=None, | |
rules=None | |
): | |
self.name = name | |
self.content = content or {} #Made it a dictonary to store files under it. | |
self.timestamp = timestamp | |
self.rules = rules or {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment