From 15ffe81eefc15fd183fa46f0cd79e0e43e019f91 Mon Sep 17 00:00:00 2001
From: Jason R Laura <jlaura@hemis.wr.usgs.gov>
Date: Tue, 19 Jul 2016 15:00:38 -0700
Subject: [PATCH] Moved file io into a dedicated io module.

---
 plio/date/astrodate.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plio/date/astrodate.py b/plio/date/astrodate.py
index 69a0386..9c75fb9 100644
--- a/plio/date/astrodate.py
+++ b/plio/date/astrodate.py
@@ -155,7 +155,7 @@ def AstroDate(datespec=None):
             #it's Julian, one way or another
             return JulianDate(datespec)
         elif dstring[0].isalpha():
-            raise ValueError, "Invalid system specification: must be B, J, JD, or MJD"
+            raise ValueError("Invalid system specification: must be B, J, JD, or MJD")
         else: #it must be a numeric string: assume Julian
             return JulianDate(datespec)
 
@@ -219,7 +219,7 @@ class JulianDate:
                     self.mjd=self.jd+MJD_0
                     self.year=jd2jyear(self.jd)
             else:
-                print "help, we are confused"
+                print("help, we are confused")
 
         else: #it's a number
             if datespec < 10000:
-- 
GitLab