Tue Oct 10 05:00:12 2006
Ticket #855
os.uname used as a list in lib/pwiki/Configuration.py
| Priority: | normal | Reporter: | anonymous |
|---|---|---|---|
| Severity: | normal | Assigned to: | jhorman |
| Component: | wikidPad | Status: | new |
| Version: | Resolution: | ||
| Milestone: | Keywords: |
Description by anonymous:
In lib/pwiki/Configuration.py os.uname is used as an array instead of as a function to check whether the host platform is Linux. To successfully perform the check, the array returned by os.uname should be queried instead.
< return os.uname[0] == "Linux" > return os.uname()[0] == "Linux"
Versions affected: 1.6, 1.7rc2, 1.8?
