summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/issue.py
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the gtk question code and add preliminary support for failed ↵Martin Sivak2010-06-231-0/+1
| | | | (exception) issues
* Be sure to use the "\" character when coding a string in multiple lines.Joel Andres Granados2008-07-141-1/+1
| | | | | | | | | | | | | | This behavior is prefered to enclosing the string with parenthesis. When using "\" remember to close the strings with quotation marks to have a clean output. Prefered: message = "long string " \ "end of long string" Not prefered: message = ("long string " "end of long string"
* Avoid the ugly space left by adding "\" to a string separation.Joel Andres Granados2008-07-141-2/+2
| | | | | | | | | | | | | | | When deviding a string into two lines one must use pythons automatic string concatenation (python concatenates strings that are in different line but are inside parenthesis). Do not use the "\" in the string as this will cause strange and unwanted output. Yes: print("long string" "rest of string") No: print("long string \ rest of string")
* Fix the format of the firstaidkit file.Joel Andres Granados2008-07-141-9/+20
| | | | | | | | | | | | | - Indendtation should be 4 spaces. There was a function indented with 8 spaces. - Lines should be shorted than 80 chars. It just looks pretty :) Think of terminals whith only 80 char of length. Think of debuging in rescue mode. - Change also the print statements. Just getting ready for python 3000. - Get some spaces between elifs - There should not be any lines ending in spaces. - This can all be read in the python code conventions http://www.python.org/dev/peps/pep-0008/
* Change the detected name to checked.Joel Andres Granados2008-05-121-21/+21
| | | | | The new variable name better expresses the objective of the issue state. This will help avoid confusion for the plugin developer.
* Some API improvements, so the developer do not have to care about the issue ↵Martin Sivak2008-05-051-0/+11
| | | | reporting that much
* Move some methods to SimpleIssue classMartin Sivak2008-04-221-25/+25
|
* Add ISSUE message to reporting and create SimpleIssue as a parent for Issue ↵Martin Sivak2008-04-221-31/+38
| | | | class (so everybody can use something simple to report state)
* Add fixed() query function into the Issue classMartin Sivak2008-03-191-0/+12
|
* Add IssuesPlugin class and basic rpm plugin, which uses the issues approachMartin Sivak2008-03-141-0/+98