Projects
home:dercol
mixxx-unstable
util.py.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util.py.patch of Package mixxx-unstable
diff -Nur mixxx-release-2.3.0beta_190604.orig/build/util.py mixxx-release-2.3.0beta_190604/build/util.py --- mixxx-release-2.3.0beta_190604.orig/build/util.py 2019-06-04 12:15:59.400570394 +0200 +++ mixxx-release-2.3.0beta_190604/build/util.py 2019-06-05 15:49:47.935676779 +0200 @@ -1,4 +1,5 @@ from SCons import Script +from subprocess import Popen, PIPE import os import os.path import re @@ -71,7 +72,12 @@ def get_git_revision(): - return len(os.popen("git log --pretty=oneline --first-parent").read().splitlines()) + #return len(os.popen("git log --pretty=oneline --first-parent").read().splitlines()) + popen=Popen("git log --pretty=oneline --first-parent".split(), stdout=PIPE).stdout + print(type(popen)) + print(popen.read().splitlines()) + return len(popen.read().splitlines()) + def get_git_modified():
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.