--- a/MySQLdb/times.py
+++ b/MySQLdb/times.py
@@ -7,8 +7,8 @@
 
 Uses Python datetime module to handle time-releated columns."""
 
-__revision__ = "$ Revision: $"[11:-2]
-__author__ = "$ Author: $"[9:-2]
+__revision__ = "$Revision$"[11:-2]
+__author__ = "$Author$"[9:-2]
 
 from time import localtime
 from datetime import date, datetime, time, timedelta