Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Prints the version of Lamson, the reporitory revision, and the
file it came from.

        def version_command():
    """
    Prints the version of Lamson, the reporitory revision, and the
    file it came from.
    """

    from lamson import version

    print "Lamson-Version: ", version.VERSION['version']
    print "Repository-Revision:", version.VERSION['rev'][0]
    print "Repository-Hash:", version.VERSION['rev'][1]
    print "Version-File:", version.__file__
    print ""
    print "Lamson is Copyright (C) Zed A. Shaw 2008-2009.  Licensed GPLv3."
    print "If you didn't get a copy of the LICENSE contact the author at:\n"
    print "   zedshaw@zedshaw.com"
    print ""
    print "Have fun."
        


src/l/a/lamson-HEAD/tests/lamson_tests/command_tests.py   lamson(Download)
def test_version_command():
    commands.version_command()
 
 
def test_cleanse_command():

src/l/a/lamson-1.3.4/tests/lamson_tests/command_tests.py   lamson(Download)
def test_version_command():
    commands.version_command()
 
 
def test_cleanse_command():