diff options
Diffstat (limited to 'src/fringlib/fringutil.py')
-rw-r--r-- | src/fringlib/fringutil.py | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/fringlib/fringutil.py b/src/fringlib/fringutil.py index f981a45..3199bf5 100644 --- a/src/fringlib/fringutil.py +++ b/src/fringlib/fringutil.py @@ -16,7 +16,6 @@ def pretty_size(size): else: return "%u B" % size - def format_disk_space(size): """ Convert bytes to a human readable format. Returns a tuple, for example (20,"MiB") """ @@ -29,3 +28,20 @@ def format_disk_space(size): return ("%.1f"%round(size/1024.0),"KiB") else: return ("%u"%size,"B") + +LICENSE = """ +fring is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +fring is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with fring; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +USA. +""" |