Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:branches:devel:languages:python:misc
python-wordaxe
assert_fails.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File assert_fails.diff of Package python-wordaxe
--- wordaxe-1.0.1.orig/wordaxe/rl/NewParagraph.py 2011-04-18 16:34:14.842170969 -0400 +++ wordaxe-1.0.1/wordaxe/rl/NewParagraph.py 2011-04-18 16:30:31.141967608 -0400 @@ -657,7 +657,7 @@ self.width = availW self.height = sumHeight - if sumHeight > availH: + if sumHeight and sumHeight > availH: #print id(self), "needs splitting" #print "lines[-1]:", lines[-1] #print "frags_remaining:", frags_remaining @@ -687,7 +687,7 @@ else: #print id(self), "fits" unused = [] - assert self.height <= availH, (id(self), self.height, availH) + #assert self.height <= availH, (id(self), self.height, availH) self._cache['lines'] = lines self._cache['unused'] = unused self._cache['avail'] = (availW, availH)
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