version

version related stuff.

fbf.version.getversion(txt='')

return a version string.

CODE

# fbf/version.py
#
#

""" version related stuff. """

fbf imports

from fbf.lib.config import getmainconfig

basic imports

import os
import binascii

defines

version = "0.2"
__version__ = version

getversion function

def getversion(txt=""):
    """ return a version string. """
    return "FBFBOT version %s DEVELOPMENT %s" % (version, txt)

Table Of Contents

Previous topic

memcached

Next topic

api

This Page