Commits

Henrique Romano  committed 1204fc8

logger.info instead of warn, since it is using someone's else logger.

  • Participants
  • Parent commits 8a62354

Comments (0)

Files changed (1)

File djangotriager/trac/patches.py

         stdout, stderr = proc.communicate(self._content)
         if proc.returncode != 0:
             if logger:
-                logger.warn("Patch could not be applied with prefix=%r" % prefix)
+                logger.info("Patch could not be applied with prefix=%r" % prefix)
             if prefix < Patch.MAX_APPLY_ATTEMPTS:
                 return self.apply(where, prefix=prefix + 1, logger=logger)
             else:
                 return False
         else:
-            logger.warn("Patch applied successfully")
+            logger.info("Patch applied successfully")
         return True