mirror of
https://github.com/evilhero/mylar
synced 2025-02-24 06:50:32 +00:00
just getting inline...
This commit is contained in:
parent
05ee593bcc
commit
e4bfacf1a3
2 changed files with 7 additions and 1 deletions
|
@ -17,7 +17,7 @@ import time
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
import datetime
|
import datetime
|
||||||
import re
|
import re
|
||||||
|
import itertools
|
||||||
import mylar
|
import mylar
|
||||||
|
|
||||||
def multikeysort(items, columns):
|
def multikeysort(items, columns):
|
||||||
|
|
|
@ -78,6 +78,12 @@ def getVersion():
|
||||||
logger.error('Couldn\'t find latest installed version.')
|
logger.error('Couldn\'t find latest installed version.')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
#branch_history, err = runGit("log --oneline --pretty=format:'%h - %ar - %s' -n 5")
|
||||||
|
#bh = []
|
||||||
|
#print ("branch_history: " + branch_history)
|
||||||
|
#bh.append(branch_history.split('\n'))
|
||||||
|
#print ("bh1: " + bh[0])
|
||||||
|
|
||||||
cur_commit_hash = output.strip()
|
cur_commit_hash = output.strip()
|
||||||
|
|
||||||
if not re.match('^[a-z0-9]+$', cur_commit_hash):
|
if not re.match('^[a-z0-9]+$', cur_commit_hash):
|
||||||
|
|
Loading…
Reference in a new issue