Justabot est un Bot écrit en python, il permet une présence sur les salons Jabber. https://www.devosi.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
339B

  1. import subprocess
  2. # thank's to kcchouette for version
  3. def my_version():
  4. subver = subprocess.Popen("git log -1 --pretty=format:'%h'",
  5. shell=True,
  6. stdout=subprocess.PIPE).communicate()[0]
  7. if not subver:
  8. subver = b"0"
  9. return "3.2-" + subver.decode('utf-8')