old_contents: import string
  import praw
  import time
  
  BLACKLIST_FILE = 'blacklist.txt'
  
  
  def is_ignored(redditor):
      """
      Returns true if the specified redditor is on the blacklist.
      """
      username = redditor.name.lower()
      # Make sure the user isn't in the blacklist
      blacklist = load_list(BLACKLIST_FILE, ',')
      if username in blacklist:
          print(username + " is blacklisted.")
          return True
      return False
  
  
  def login(user_agent, auth=True):
      """
      Repeatably tries to log in to reddit with user input until successful.
      """
      while True:
          try:
              print(user_agent)
              r = praw.Reddit(user_agent)
              if auth:
                  print('logging in')
                  r.login()
              return r
          except praw.errors.InvalidUserPass:
              print('Invalid username or password.')
  
  
  def load_list(file_name, delimiter):
      """
      Loads a list from a file name with the specified delimiter.
      """
      with open(file_name, 'r') as file:
          return file.read().split(delimiter)
  
  
  def append_to_file(file_name, s):
      """
      Appends the specified string to the specified file.
      """
      with open(file_name, 'a') as file:
          file.write(s)
  
  
  def write_to_file(file_name, s):
      """
      Sets the specified file's contents to the specified string.
      """
      with open(file_name, 'w') as file:
          file.write(s)
  
  
  def update(i):
      """
      Prints a counter update.
      """
      print('\rStarting in: [%d]' % i, end="")
  
  
  def wait(secs):
      """
      Waits the specified amount of seconds.
      """
      for i in range(secs, 0, -1):
          update(i)
          time.sleep(1)
      update(0)
  
  
  def quote(body):
      """
      Quotes the specified string in reddit markdown.
      """
      body = body.strip().replace('&gt;', '>')
      new_body = ''
      for line in body.split('\n\n'):
          new_body += '>' + line + '\n\n'
      return new_body
  
  
  def parse_username(s):
      """
      Returns the user name from a possible username match
      """
      for i in range(0, s.__len__()):
          ch = s[i]
          if ch in string.punctuation and ch is not '_' and ch is not '-':
              return s[:i]
      return s
new_contents: import string
  import praw
  import time
  
  BLACKLIST_FILE = 'blacklist.txt'
  
  
  def is_ignored(redditor):
      """
      Returns true if the specified redditor is on the blacklist.
      """
      username = redditor.name.lower()
      # Make sure the user isn't in the blacklist
      blacklist = load_list(BLACKLIST_FILE, ',')
      if username in blacklist:
          print(username + " is blacklisted.")
          return True
      return False
  
  
  def login(user_agent, auth=True):
      """
      Repeatably tries to log in to reddit with user input until successful.
      """
      while True:
          try:
              print(user_agent)
              r = praw.Reddit(user_agent)
              if auth:
                  r.login()
              return r
          except praw.errors.InvalidUserPass:
              print('Invalid username or password.')
  
  
  def load_list(file_name, delimiter):
      """
      Loads a list from a file name with the specified delimiter.
      """
      with open(file_name, 'r') as file:
          return file.read().split(delimiter)
  
  
  def append_to_file(file_name, s):
      """
      Appends the specified string to the specified file.
      """
      with open(file_name, 'a') as file:
          file.write(s)
  
  
  def write_to_file(file_name, s):
      """
      Sets the specified file's contents to the specified string.
      """
      with open(file_name, 'w') as file:
          file.write(s)
  
  
  def update(i):
      """
      Prints a counter update.
      """
      print('\rStarting in: [%d]' % i, end="")
  
  
  def wait(secs):
      """
      Waits the specified amount of seconds.
      """
      for i in range(secs, 0, -1):
          update(i)
          time.sleep(1)
      update(0)
  
  
  def quote(body):
      """
      Quotes the specified string in reddit markdown.
      """
      body = body.strip().replace('&gt;', '>')
      new_body = ''
      for line in body.split('\n\n'):
          new_body += '>' + line + '\n\n'
      return new_body
  
  
  def parse_username(s):
      """
      Returns the user name from a possible username match
      """
      for i in range(0, s.__len__()):
          ch = s[i]
          if ch in string.punctuation and ch is not '_' and ch is not '-':
              return s[:i]
      return s
subject: remove debug message