Bug 1313666 - dnf: FutureWarning with --exclude=name
Summary: dnf: FutureWarning with --exclude=name
Keywords:
Status: CLOSED DUPLICATE of bug 1286556
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-02 07:38 UTC by Lukas Slebodnik
Modified: 2016-04-26 15:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-26 15:48:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Slebodnik 2016-03-02 07:38:55 UTC
Description of problem:
Future warning is printed if dnf is called with argument --exclude


Version-Release number of selected component (if applicable):
dnf-1.1.6-2.fc24.noarch
python3-3.5.1-6.fc24.x86_64

How reproducible:
Deterministic

Steps to Reproduce:
1. dnf update --exclude=dummy_name
# it can be also name of real package

Actual results:
/usr/lib64/python3.5/re.py:203: FutureWarning: split() requires a non-empty pattern match.
  return _compile(pattern, flags).split(string, maxsplit)

Expected results:
There isn't any warning.

Comment 1 Honza Silhan 2016-03-14 12:32:21 UTC
Thanks for the report.

Comment 2 Parag Nemade 2016-04-12 04:17:38 UTC
*** Bug 1326079 has been marked as a duplicate of this bug. ***

Comment 3 Igor Gnatenko 2016-04-26 15:48:19 UTC

*** This bug has been marked as a duplicate of bug 1286556 ***


Note You need to log in before you can comment on or make changes to this bug.