Skip to content

Instantly share code, notes, and snippets.

@satyamz
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satyamz/bbb79e86030beb85dea5 to your computer and use it in GitHub Desktop.
Save satyamz/bbb79e86030beb85dea5 to your computer and use it in GitHub Desktop.
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