Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/archivo.py
diff options
context:
space:
mode:
Diffstat (limited to 'archivo.py')
-rw-r--r--archivo.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivo.py b/archivo.py
index 1d73e3a..1f6f885 100644
--- a/archivo.py
+++ b/archivo.py
@@ -25,7 +25,8 @@ from gettext import gettext as _
_log = logging.getLogger('Log archivo')
def indice_entero(cadena):
- '''return an int from a string with tuple sintax'''
+ '''Convert a turple's index to an interger number, for
+ be used by others functions'''
cadena = cadena.replace('(','')
cadena = cadena.replace(',','')
cadena = cadena.replace(')','')
@@ -67,7 +68,8 @@ def crear_modelo(indice, path):
return modelo
def comprobar_efemeride(path):
- '''test is the ephemeri file exists'''
+ '''Return true if the ephemeris database exists,
+ else return false'''
path = path + '/data/efemerides.pkl'
if not os.path.exists(path):
return False