Back to index

plone3  3.1.7
Variables
getObjSize Namespace Reference

Variables

 obj = context
dictionary const
tuple order = ('GB', 'MB', 'kB')
list smaller = order[-1]
tuple size = obj.get_size()

Variable Documentation

dictionary getObjSize.const
Initial value:
00001 {'kB':1024,
00002          'MB':1024*1024,
00003          'GB':1024*1024*1024}

Definition at line 16 of file getObjSize.py.

getObjSize.obj = context

Definition at line 14 of file getObjSize.py.

tuple getObjSize.order = ('GB', 'MB', 'kB')

Definition at line 19 of file getObjSize.py.

tuple getObjSize.size = obj.get_size()

Definition at line 27 of file getObjSize.py.

Definition at line 20 of file getObjSize.py.