Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
python-PyYAML.487
CVE-2014-9130-pyYAML.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2014-9130-pyYAML.patch of Package python-PyYAML.487
Index: PyYAML-3.10/lib/yaml/scanner.py =================================================================== --- PyYAML-3.10.orig/lib/yaml/scanner.py +++ PyYAML-3.10/lib/yaml/scanner.py @@ -297,10 +297,6 @@ class Scanner(object): # Check if a simple key is required at the current position. required = not self.flow_level and self.indent == self.column - # A simple key is required only if it is the first token in the current - # line. Therefore it is always allowed. - assert self.allow_simple_key or not required - # The next token might be a simple key. Let's save it's number and # position. if self.allow_simple_key: Index: PyYAML-3.10/lib3/yaml/scanner.py =================================================================== --- PyYAML-3.10.orig/lib3/yaml/scanner.py +++ PyYAML-3.10/lib3/yaml/scanner.py @@ -297,10 +297,6 @@ class Scanner: # Check if a simple key is required at the current position. required = not self.flow_level and self.indent == self.column - # A simple key is required only if it is the first token in the current - # line. Therefore it is always allowed. - assert self.allow_simple_key or not required - # The next token might be a simple key. Let's save it's number and # position. if self.allow_simple_key:
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