Changeset - efcfaea44f6e
[Not reviewed]
0 1 0
Lance Edgar (lance) - 12 years ago 2012-09-06 13:28:33
lance@edbob.org
fix GPC reference in sil.Writer
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rattail/sil/writer.py
Show inline comments
 
@@ -32,6 +32,7 @@ from decimal import Decimal
 
import edbob
 

	
 
import rattail
 
from rattail.gpc import GPC
 

	
 

	
 
__all__ = ['Writer']
 
@@ -72,7 +73,7 @@ class Writer(edbob.Object):
 

	
 
        if value is None:
 
            return ''
 
        if isinstance(value, rattail.GPC):
 
        if isinstance(value, GPC):
 
            return str(value)
 
        if isinstance(value, int):
 
            return str(value)
0 comments (0 inline, 0 general)