# HG changeset patch # User Drew Perttula # Date 1401346088 0 # Node ID 16fe82c3fd71f182959a704ba29eacfc7521c8b6 # Parent 3b3d4e433db3148b7be489dd1d8c4f66e1fd11b2 graphfile repr() Ignore-this: efe8005bd2af301d1879fded3491435f diff -r 3b3d4e433db3 -r 16fe82c3fd71 light9/rdfdb/graphfile.py --- a/light9/rdfdb/graphfile.py Thu May 29 06:47:11 2014 +0000 +++ b/light9/rdfdb/graphfile.py Thu May 29 06:48:08 2014 +0000 @@ -169,5 +169,10 @@ f.close() self.lastWriteTimestamp = os.path.getmtime(tmpOut) os.rename(tmpOut, self.path) - iolog.info("%s rewrote in %.1f ms", self.path, serializeTime * 1000) + iolog.info("%s rewrote in %.1f ms", + self.path, serializeTime * 1000) + def __repr__(self): + return "%s(path=%r, uri=%r, ...)" % ( + self.__class__.__name__, self.path, self.uri) +