cctool

A tool for managing contacts and calendars.
git clone https://git.ce9e.org/cctool.git

commit
bfbfe50170a700c41cc24022c88cfd34b4d432f4
parent
b8cec36b5081bd12733166352e8d3cdbc3860a19
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-04-20 19:44
rm pprint

Diffstat

M cctool.py 8 --------

1 files changed, 0 insertions, 8 deletions


diff --git a/cctool.py b/cctool.py

@@ -38,7 +38,6 @@ import logging as log
   38    38 from StringIO import StringIO
   39    39 from ConfigParser import SafeConfigParser as ConfigParser
   40    40 import json
   41    -1 from pprint import pprint
   42    41 
   43    42 try:
   44    43 	import ldif
@@ -187,12 +186,6 @@ class JSON(Format):
  187   186 		json.dump(list(data), fh, indent=4)
  188   187 
  189   188 
  190    -1 class PPrint(Format):
  191    -1 	@classmethod
  192    -1 	def dump(cls, data, fh):
  193    -1 		pprint(list(data), fh)
  194    -1 
  195    -1 
  196   189 if __name__ == '__main__':
  197   190 	informats = {
  198   191 		'abook': ABook,
@@ -202,7 +195,6 @@ if __name__ == '__main__':
  202   195 		'bsdcal': BSDCal,
  203   196 		'abook': ABook,
  204   197 		'json': JSON,
  205    -1 		'pprint': PPrint,
  206   198 	}
  207   199 	if not isinstance(vobject, Exception):
  208   200 		informats['ics'] = ICal