Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
python-invocations
invocations-no-bundled.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File invocations-no-bundled.patch of Package python-invocations
Index: invocations-3.0.2/tests/packaging/release.py =================================================================== --- invocations-3.0.2.orig/tests/packaging/release.py +++ invocations-3.0.2/tests/packaging/release.py @@ -3,7 +3,10 @@ from os import path import re import sys -from invoke.vendor.lexicon import Lexicon +try: + from invoke.vendor.lexicon import Lexicon +except ImportError: + from lexicon import Lexicon from invoke import MockContext, Result, Config, Exit from docutils.utils import Reporter from unittest.mock import Mock, patch, call Index: invocations-3.0.2/invocations/packaging/release.py =================================================================== --- invocations-3.0.2.orig/invocations/packaging/release.py +++ invocations-3.0.2/invocations/packaging/release.py @@ -20,7 +20,10 @@ from glob import glob from io import StringIO from shutil import rmtree -from invoke.vendor.lexicon import Lexicon +try: + from invoke.vendor.lexicon import Lexicon +except ImportError: + from lexicon import Lexicon from blessings import Terminal from docutils.utils import Reporter
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