[pyjs/pyjs] 5eb636: [#781] simplifications/cleanups/correctness

1 view
Skip to first unread message

GitHub

unread,
Dec 7, 2012, 12:50:38 AM12/7/12
to pyjs-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/pyjs/pyjs
Commit: 5eb636aa7358d594ed4a7e7ad9150a66830e9692
https://github.com/pyjs/pyjs/commit/5eb636aa7358d594ed4a7e7ad9150a66830e9692
Author: C Anthony Risinger <ant...@xtfx.me>
Date: 2012-12-06 (Thu, 06 Dec 2012)

Changed paths:
M library/pyjamas/ui/Calendar.py

Log Message:
-----------
[#781] simplifications/cleanups/correctness

- python vim plugin (trailing whitespace! yarg!)
- avoid single line compound expressions (`except x: y`, `if x: y`)
- y/m/d redundant; *ALWAYS* `fireDateSelectedEvent(object)`
- `hasattr()` calls `getattr()` internally; simplify
- convert Calendar y/m/d input to `date()` immediately



Reply all
Reply to author
Forward
0 new messages