Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
eric5
eric5-build_compare.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eric5-build_compare.patch of Package eric5
--- install.py.orig 2011-11-23 23:34:48.000000000 -0500 +++ install.py 2011-11-23 23:35:00.000000000 -0500 @@ -469,24 +469,24 @@ apidir = os.path.join(cfg['apidir'], progLanguage.lower()) if not os.path.exists(apidir): os.makedirs(apidir) - for apiName in glob.glob(os.path.join(sourceDir, "APIs", progLanguage, "*.api")): + for apiName in sorted(glob.glob(os.path.join(sourceDir, "APIs", progLanguage, "*.api"))): try: shutil.copy(apiName, apidir) except EnvironmentError: print("Could not install '{0}'.".format(apiName)) - for apiName in glob.glob(os.path.join(sourceDir, "APIs", progLanguage, "*.bas")): + for apiName in sorted(glob.glob(os.path.join(sourceDir, "APIs", progLanguage, "*.bas"))): try: shutil.copy(apiName, apidir) except EnvironmentError: print("Could not install '{0}'.".format(apiName)) if progLanguage == "Python": # copy Python3 API files to the same destination - for apiName in glob.glob(os.path.join(sourceDir, "APIs", "Python3", "*.api")): + for apiName in sorted(glob.glob(os.path.join(sourceDir, "APIs", "Python3", "*.api"))): try: shutil.copy(apiName, apidir) except EnvironmentError: print("Could not install '{0}'.".format(apiName)) - for apiName in glob.glob(os.path.join(sourceDir, "APIs", "Python3", "*.bas")): + for apiName in sorted(glob.glob(os.path.join(sourceDir, "APIs", "Python3", "*.bas"))): try: shutil.copy(apiName, apidir) except EnvironmentError: @@ -547,11 +547,11 @@ apis = [] for progLanguage in progLanguages: - for apiName in glob.glob(os.path.join(sourceDir, "APIs", progLanguage, "*.api")): + for apiName in sorted(glob.glob(os.path.join(sourceDir, "APIs", progLanguage, "*.api"))): apis.append(os.path.basename(apiName)) if progLanguage == "Python": # treat Python3 API files the same as Python API files - for apiName in glob.glob(os.path.join(sourceDir, "APIs", "Python3", "*.api")): + for apiName in sorted(glob.glob(os.path.join(sourceDir, "APIs", "Python3", "*.api"))): apis.append(os.path.basename(apiName)) fn = 'eric5config.py'
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor