Skip to content

Commit

Permalink
Remove debugging comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Nov 29, 2020
1 parent afaaf81 commit 0123593
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
currentFileDirectory = os.path.dirname(currentFilePath)
currentFileDirectoryParent = os.path.dirname(currentFileDirectory)
queueDirectory = os.path.join(currentFileDirectoryParent, "q-snapshot")
#queueDirectory = "/home/pier/e/benne238/personalQueues"

# Queues to not load in getQueues()
queuesToIgnore = ["archives", "drafts", "inbox", "coral"]

Expand Down Expand Up @@ -138,27 +138,6 @@ def __init__(self, queue: str, number: int, wholeItem: bool) -> None:
if "_" not in attribute and attribute != "toJson" and attribute != "jsonData":
self.jsonData[attribute] = self.__getattribute__(attribute)

# self.jsonData = {
# "queue": self.queue,
# "number": self.number,
# "lastUpdated": self.lastUpdated,
# "headers": self.headers,
# #"content": self.content,
# "isLocked": self.isLocked,
# "userEmail": self.userEmail,
# "userName": self.userName,
# "userAlias": self.userAlias,
# "assignedTo": self.assignedTo,
# "subject": self.subject,
# "status": self.status,
# "priority": self.priority,
# "department": self.department,
# "building": self.building,
# "dateReceived": self.dateReceived
# }
# if wholeItem:
# self.jsonData["content"] = self.content

def __getLastUpdated(self) -> str:
"""Returns last modified time of item reported by the filesystem in mm-dd-yy hh:mm am/pm format.
Expand Down

0 comments on commit 0123593

Please sign in to comment.