]> granicus.if.org Git - python/log
python
12 years ago#16618: Make glob.glob match consistently across strings and bytes
Hynek Schlawack [Thu, 27 Dec 2012 09:15:53 +0000 (10:15 +0100)]
#16618: Make glob.glob match consistently across strings and bytes

Fixes handling of leading dots.

Patch by Serhiy Storchaka.

12 years ago#16618: Make glob.glob match consistently across strings and bytes
Hynek Schlawack [Thu, 27 Dec 2012 09:10:11 +0000 (10:10 +0100)]
#16618: Make glob.glob match consistently across strings and bytes

Fixes handling of leading dots.

Patch by Serhiy Storchaka.

12 years agofix test for subprocess (#16644)
Andrew Svetlov [Wed, 26 Dec 2012 21:34:54 +0000 (23:34 +0200)]
fix test for subprocess (#16644)

12 years agofix test for subprocess (#16644)
Andrew Svetlov [Wed, 26 Dec 2012 21:31:45 +0000 (23:31 +0200)]
fix test for subprocess (#16644)

12 years agoMERGE: Closes #16789: :meth:`quit` links to constants instead of own module
Jesus Cea [Wed, 26 Dec 2012 15:47:40 +0000 (16:47 +0100)]
MERGE: Closes #16789: :meth:`quit` links to constants instead of own module

12 years agoCloses #16789: :meth:`quit` links to constants instead of own module
Jesus Cea [Wed, 26 Dec 2012 15:47:03 +0000 (16:47 +0100)]
Closes #16789: :meth:`quit` links to constants instead of own module

12 years agoMerge with 3.2 :
Kristján Valur Jónsson [Wed, 26 Dec 2012 15:13:29 +0000 (15:13 +0000)]
Merge with 3.2 :
Issue #14574: Ignore socket errors raised when flushing a connection on close.

12 years agoIssue #16702: Skip proxies for localhost in urllib2_localnet tests
Senthil Kumaran [Wed, 26 Dec 2012 09:46:39 +0000 (01:46 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests

12 years agoIssue #16702: Skip proxies for localhost in urllib2_localnet tests
Senthil Kumaran [Wed, 26 Dec 2012 09:45:58 +0000 (01:45 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests

12 years agoNull merge.
Chris Jerdonek [Tue, 25 Dec 2012 23:27:56 +0000 (15:27 -0800)]
Null merge.

12 years agoFix Sphinx warning (missing "setting-envvars" reference).
Chris Jerdonek [Tue, 25 Dec 2012 23:26:24 +0000 (15:26 -0800)]
Fix Sphinx warning (missing "setting-envvars" reference).

This fixes the following warning when building the docs (probably from
the commit for issue #14901):

"/Doc/faq/windows.rst:138: WARNING: undefined label: setting-envvars (if the
link has no caption the label must precede a section header)"

12 years agoMerge from 3.2: add links and index entries for "argument" and "parameter."
Chris Jerdonek [Tue, 25 Dec 2012 22:57:54 +0000 (14:57 -0800)]
Merge from 3.2: add links and index entries for "argument" and "parameter."

This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).

12 years agoAdd additional links and index entries for "argument" and "parameter".
Chris Jerdonek [Tue, 25 Dec 2012 22:54:44 +0000 (14:54 -0800)]
Add additional links and index entries for "argument" and "parameter".

This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).

12 years agoIssue #14574: Ignore socket errors raised when flushing a connection on close.
Kristján Valur Jónsson [Tue, 25 Dec 2012 22:46:32 +0000 (22:46 +0000)]
Issue #14574: Ignore socket errors raised when flushing a connection on close.

12 years agorename MathcObject to match object in doctrings for re module (#16760)
Andrew Svetlov [Tue, 25 Dec 2012 16:49:08 +0000 (18:49 +0200)]
rename MathcObject to match object in doctrings for re module (#16760)

12 years agorename MathcObject to match object in doctrings for re module (#16760)
Andrew Svetlov [Tue, 25 Dec 2012 16:48:54 +0000 (18:48 +0200)]
rename MathcObject to match object in doctrings for re module (#16760)

12 years ago#16760: merge with 3.2.
Ezio Melotti [Tue, 25 Dec 2012 16:15:28 +0000 (18:15 +0200)]
#16760: merge with 3.2.

12 years ago#16760: use ref:`match-objects` instead of :class:`MatchObject`.
Ezio Melotti [Tue, 25 Dec 2012 16:10:49 +0000 (18:10 +0200)]
#16760: use ref:`match-objects` instead of :class:`MatchObject`.

12 years ago#16677: merge with 3.2.
Ezio Melotti [Tue, 25 Dec 2012 13:46:58 +0000 (15:46 +0200)]
#16677: merge with 3.2.

12 years ago#16677: rename section header and fix markup.
Ezio Melotti [Tue, 25 Dec 2012 13:45:15 +0000 (15:45 +0200)]
#16677: rename section header and fix markup.

12 years agoAdd test coverage for os.removedirs (#16775)
Andrew Svetlov [Tue, 25 Dec 2012 10:20:39 +0000 (12:20 +0200)]
Add test coverage for os.removedirs (#16775)

12 years agoAdd test coverage for os.removedirs (#16775)
Andrew Svetlov [Tue, 25 Dec 2012 10:18:09 +0000 (12:18 +0200)]
Add test coverage for os.removedirs (#16775)

12 years agoFix issue16713 - tel url parsing with params
Senthil Kumaran [Mon, 24 Dec 2012 22:01:13 +0000 (14:01 -0800)]
Fix issue16713 - tel url parsing with params

12 years agoFix issue16713 - tel url parsing with params
Senthil Kumaran [Mon, 24 Dec 2012 22:00:20 +0000 (14:00 -0800)]
Fix issue16713 - tel url parsing with params

12 years agoKeep ref to ECHILD in local scope (#16650)
Andrew Svetlov [Mon, 24 Dec 2012 18:06:52 +0000 (20:06 +0200)]
Keep ref to ECHILD in local scope (#16650)

12 years agoKeep ref to ECHILD in local scope (#16650)
Andrew Svetlov [Mon, 24 Dec 2012 18:06:35 +0000 (20:06 +0200)]
Keep ref to ECHILD in local scope (#16650)

12 years agoIssue #16511: Use default IDLE width and height if config param is not valid.
Andrew Svetlov [Mon, 24 Dec 2012 11:16:47 +0000 (13:16 +0200)]
Issue #16511: Use default IDLE width and height if config param is not valid.

Patch Serhiy Storchaka.

12 years agoIssue #16511: Use default IDLE width and height if config param is not valid.
Andrew Svetlov [Mon, 24 Dec 2012 11:15:43 +0000 (13:15 +0200)]
Issue #16511: Use default IDLE width and height if config param is not valid.

Patch Serhiy Storchaka.

12 years agoLink to "yield from" examples in yield documentation.
Chris Jerdonek [Sun, 23 Dec 2012 23:31:57 +0000 (15:31 -0800)]
Link to "yield from" examples in yield documentation.

This commit also simplifies the more advanced "yield from" example and removes
unused function parameters.

12 years agoIssue #16443: Add docstrings to regular expression match objects.
Andrew Svetlov [Sun, 23 Dec 2012 17:59:27 +0000 (19:59 +0200)]
Issue #16443: Add docstrings to regular expression match objects.

Patch by Anton Kasyanov.

12 years agomerge heads
Andrew Svetlov [Sun, 23 Dec 2012 17:55:21 +0000 (19:55 +0200)]
merge heads

12 years agoIssue #16443: Add docstrings to regular expression match objects.
Andrew Svetlov [Sun, 23 Dec 2012 17:23:07 +0000 (19:23 +0200)]
Issue #16443: Add docstrings to regular expression match objects.

Patch by Anton Kasyanov.

12 years agomerge from 3.2
Senthil Kumaran [Sun, 23 Dec 2012 17:12:13 +0000 (09:12 -0800)]
merge from 3.2

Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly

12 years agoFix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return...
Senthil Kumaran [Sun, 23 Dec 2012 17:04:24 +0000 (09:04 -0800)]
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly

12 years agoIssue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc).
Stefan Krah [Sun, 23 Dec 2012 14:42:21 +0000 (15:42 +0100)]
Issue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc).

12 years agomerge heads
Andrew Svetlov [Sun, 23 Dec 2012 10:51:40 +0000 (12:51 +0200)]
merge heads

12 years agoIssue #16045: add more unit tests for built-in int()
Andrew Svetlov [Sun, 23 Dec 2012 10:49:33 +0000 (12:49 +0200)]
Issue #16045: add more unit tests for built-in int()

Patch by Chris Jerdonek.

12 years agoIssue #16752: Add a missing import to modulefinder.
Brett Cannon [Sun, 23 Dec 2012 00:34:21 +0000 (19:34 -0500)]
Issue #16752: Add a missing import to modulefinder.

Also fix Misc/ACKS to put part of it back in alphabetical order and
remove some duplicate names.

Patch by Berker Peksag.

12 years agoIssue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD.
Stefan Krah [Sat, 22 Dec 2012 22:05:51 +0000 (23:05 +0100)]
Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD.

12 years agoFix Visual Studio build.
Stefan Krah [Sat, 22 Dec 2012 13:46:44 +0000 (14:46 +0100)]
Fix Visual Studio build.

12 years agoIssue #16745: Hide symbols in _decimal.so.
Stefan Krah [Sat, 22 Dec 2012 13:18:35 +0000 (14:18 +0100)]
Issue #16745: Hide symbols in _decimal.so.

12 years agoIssue #16745: Hide a couple of symbols by making them local.
Stefan Krah [Fri, 21 Dec 2012 22:11:05 +0000 (23:11 +0100)]
Issue #16745: Hide a couple of symbols by making them local.

12 years agoMerge with 3.2 : Don't DECREF the ctypes error_object without the GIL held.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 11:22:29 +0000 (11:22 +0000)]
Merge with 3.2 : Don't DECREF the ctypes error_object without the GIL held.

12 years agoMerge with 3.1 : Don't DECREF the ctypes error_object without the GIL held.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 11:20:53 +0000 (11:20 +0000)]
Merge with 3.1 : Don't DECREF the ctypes error_object without the GIL held.

12 years agoDon't DECREF the ctypes error_object without the GIL held.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 09:41:25 +0000 (09:41 +0000)]
Don't DECREF the ctypes error_object without the GIL held.

12 years agolink to GIL as a term
Benjamin Peterson [Fri, 21 Dec 2012 02:24:37 +0000 (20:24 -0600)]
link to GIL as a term

Patch from Jeff Knupp.

12 years agofix typo (#16687)
Benjamin Peterson [Fri, 21 Dec 2012 02:22:47 +0000 (20:22 -0600)]
fix typo (#16687)

Patch from Jeff Knupp.

12 years agoimprove message (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 18:54:59 +0000 (12:54 -0600)]
improve message (#16597)

12 years agocall close on the underlying stream even if flush raises (closes #16597)
Benjamin Peterson [Thu, 20 Dec 2012 17:53:11 +0000 (11:53 -0600)]
call close on the underlying stream even if flush raises (closes #16597)

Patch by Serhiy Storchaka.

12 years agotry to call __bytes__ before __index__ (closes #16722)
Benjamin Peterson [Wed, 19 Dec 2012 21:27:41 +0000 (15:27 -0600)]
try to call __bytes__ before __index__ (closes #16722)

12 years agoreplace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:54:47 +0000 (22:54 +0200)]
replace threw with raised (#16714)

12 years agoreplace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:49:25 +0000 (22:49 +0200)]
replace threw with raised (#16714)

12 years agoSmall cleanup in test_ftplib
Antoine Pitrou [Wed, 19 Dec 2012 19:44:02 +0000 (20:44 +0100)]
Small cleanup in test_ftplib

12 years agoSilence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876...
Antoine Pitrou [Tue, 18 Dec 2012 22:44:36 +0000 (23:44 +0100)]
Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.

12 years agoCall importlib.invalidate_caches() after creating module files in test_threaded_import.
Antoine Pitrou [Tue, 18 Dec 2012 22:28:04 +0000 (23:28 +0100)]
Call importlib.invalidate_caches() after creating module files in test_threaded_import.

12 years agoTry to make test_threaded_import faster and safer (issue #15599).
Antoine Pitrou [Tue, 18 Dec 2012 22:03:42 +0000 (23:03 +0100)]
Try to make test_threaded_import faster and safer (issue #15599).

12 years agoAdd sanity assertions in some import lock code (issue #15599).
Antoine Pitrou [Tue, 18 Dec 2012 21:18:17 +0000 (22:18 +0100)]
Add sanity assertions in some import lock code (issue #15599).

12 years agoIssue #16714: use 'raise' exceptions, don't 'throw'.
Andrew Svetlov [Tue, 18 Dec 2012 19:26:36 +0000 (21:26 +0200)]
Issue #16714: use 'raise' exceptions, don't 'throw'.

Patch by Serhiy Storchaka.

12 years agoIssue #16714: use 'raise' exceptions, don't 'throw'.
Andrew Svetlov [Tue, 18 Dec 2012 19:14:22 +0000 (21:14 +0200)]
Issue #16714: use 'raise' exceptions, don't 'throw'.

Patch by Serhiy Storchaka.

12 years agoIssue #16711: Fix required method names for collections.Iterator
Andrew Svetlov [Tue, 18 Dec 2012 13:53:15 +0000 (15:53 +0200)]
Issue #16711: Fix required method names for collections.Iterator

Thanks to Inada Naoki

12 years agoIssue #16711: Fix required method names for collections.Iterator
Andrew Svetlov [Tue, 18 Dec 2012 13:48:10 +0000 (15:48 +0200)]
Issue #16711: Fix required method names for collections.Iterator

Thanks to Inada Naoki

12 years agoIssue 16646 (ftplib): deliberately use intermediate variable after catching exception
Giampaolo Rodola' [Mon, 17 Dec 2012 19:46:29 +0000 (20:46 +0100)]
Issue 16646 (ftplib): deliberately use intermediate variable after catching exception

12 years agoIssue 16646 (ftplib): deliberately use intermediate variable after catching exception
Giampaolo Rodola' [Mon, 17 Dec 2012 19:46:16 +0000 (20:46 +0100)]
Issue 16646 (ftplib): deliberately use intermediate variable after catching exception

12 years agoIssue #16647: save socket error details in LMTP.connect()
Andrew Svetlov [Mon, 17 Dec 2012 16:55:10 +0000 (18:55 +0200)]
Issue #16647: save socket error details in LMTP.connect()

Patch by Serhiy Storchaka.

12 years agoIssue #16647: save socket error details in LMTP.connect()
Andrew Svetlov [Mon, 17 Dec 2012 16:54:53 +0000 (18:54 +0200)]
Issue #16647: save socket error details in LMTP.connect()

Patch by Serhiy Storchaka.

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
Giampaolo Rodola' [Mon, 17 Dec 2012 13:22:19 +0000 (14:22 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details.  (patch by Serhiy Storchaka)

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
Giampaolo Rodola' [Mon, 17 Dec 2012 13:20:27 +0000 (14:20 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details.  (patch by Serhiy Storchaka)

12 years agoUpdate example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:29 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self

12 years agoUpdate example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:16 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self

12 years agoFix typo
Andrew Svetlov [Mon, 17 Dec 2012 11:42:40 +0000 (13:42 +0200)]
Fix typo

12 years agoFix typo
Andrew Svetlov [Mon, 17 Dec 2012 11:42:04 +0000 (13:42 +0200)]
Fix typo

12 years agoMerge 3.2
Brian Curtin [Mon, 17 Dec 2012 06:04:30 +0000 (00:04 -0600)]
Merge 3.2

12 years agoFix #14901. Update the Windows FAQ.
Brian Curtin [Mon, 17 Dec 2012 05:58:09 +0000 (23:58 -0600)]
Fix #14901. Update the Windows FAQ.

Patch by Ashish Nitin Patil.

12 years agoIssue #15783: Support None default values in the Context() constructor.
Stefan Krah [Sun, 16 Dec 2012 20:10:35 +0000 (21:10 +0100)]
Issue #15783: Support None default values in the Context() constructor.

12 years agoSilence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) ...
Antoine Pitrou [Sun, 16 Dec 2012 15:40:04 +0000 (16:40 +0100)]
Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.

12 years agoNull merge
Antoine Pitrou [Sun, 16 Dec 2012 15:11:31 +0000 (16:11 +0100)]
Null merge

12 years agoFix ResourceWarnings in test_pty
Antoine Pitrou [Sun, 16 Dec 2012 15:09:11 +0000 (16:09 +0100)]
Fix ResourceWarnings in test_pty

12 years agoIssue #16696: fix comparison between bytes and string. Also, improve glob tests.
Antoine Pitrou [Sun, 16 Dec 2012 15:03:42 +0000 (16:03 +0100)]
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.

12 years agoIssue #16696: fix comparison between bytes and string. Also, improve glob tests.
Antoine Pitrou [Sun, 16 Dec 2012 15:03:01 +0000 (16:03 +0100)]
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.

12 years agoIssue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern conta...
Antoine Pitrou [Sun, 16 Dec 2012 12:50:19 +0000 (13:50 +0100)]
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.

12 years agoIssue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern conta...
Antoine Pitrou [Sun, 16 Dec 2012 12:49:37 +0000 (13:49 +0100)]
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.

12 years ago#16664: Add regression tests for glob's behaviour concerning "."-entries
Hynek Schlawack [Sun, 16 Dec 2012 11:44:07 +0000 (12:44 +0100)]
#16664: Add regression tests for glob's behaviour concerning "."-entries

Patch by Sebastian Kreft.

12 years ago#16664: Add regression tests for glob's behaviour concerning "."-entries
Hynek Schlawack [Sun, 16 Dec 2012 11:39:11 +0000 (12:39 +0100)]
#16664: Add regression tests for glob's behaviour concerning "."-entries

Patch by Sebastian Kreft.

12 years agoIssue #15783: Except for the number methods, the C version of decimal now
Stefan Krah [Sat, 15 Dec 2012 21:33:33 +0000 (22:33 +0100)]
Issue #15783: Except for the number methods, the C version of decimal now
supports all None default values present in decimal.py. These values were
largely undocumented.

12 years agoUse OSError instead of os.error in the docs.
Andrew Svetlov [Sat, 15 Dec 2012 20:59:24 +0000 (22:59 +0200)]
Use OSError instead of os.error in the docs.

12 years agomerge 3.2
Benjamin Peterson [Sat, 15 Dec 2012 20:44:08 +0000 (15:44 -0500)]
merge 3.2

12 years agoremove dead code
Benjamin Peterson [Sat, 15 Dec 2012 20:43:58 +0000 (15:43 -0500)]
remove dead code

12 years agoIssue #16298: In HTTPResponse.read(), close the socket when there is no Content-Lengt...
Antoine Pitrou [Sat, 15 Dec 2012 18:22:30 +0000 (19:22 +0100)]
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.

12 years agoIssue #16298: In HTTPResponse.read(), close the socket when there is no Content-Lengt...
Antoine Pitrou [Sat, 15 Dec 2012 18:11:54 +0000 (19:11 +0100)]
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.

12 years ago#16683: merge with 3.2.
Ezio Melotti [Fri, 14 Dec 2012 18:19:49 +0000 (20:19 +0200)]
#16683: merge with 3.2.

12 years ago#16683: restore alphabetical order in audioop docs. Patch by Serhiy Storchaka.
Ezio Melotti [Fri, 14 Dec 2012 18:18:46 +0000 (20:18 +0200)]
#16683: restore alphabetical order in audioop docs.  Patch by Serhiy Storchaka.

12 years ago#16681: merge with 3.2.
Ezio Melotti [Fri, 14 Dec 2012 18:13:39 +0000 (20:13 +0200)]
#16681: merge with 3.2.

12 years ago#16681: use "bidirectional class" instead of "bidirectional category" in the docstrin...
Ezio Melotti [Fri, 14 Dec 2012 18:12:25 +0000 (20:12 +0200)]
#16681: use "bidirectional class" instead of "bidirectional category" in the docstring too.

12 years ago#16681: use "bidirectional class" instead of "bidirectional category".
Ezio Melotti [Fri, 14 Dec 2012 18:06:43 +0000 (20:06 +0200)]
#16681: use "bidirectional class" instead of "bidirectional category".

12 years agoIssue #16661: Fix the os.getgrouplist() test by not assuming that it
Ross Lagerwall [Thu, 13 Dec 2012 15:20:26 +0000 (15:20 +0000)]
Issue #16661: Fix the os.getgrouplist() test by not assuming that it
gives the same output as "id -G".

12 years agoCross compiling needs host and build settings. configure no longer
Christian Heimes [Wed, 12 Dec 2012 12:10:21 +0000 (13:10 +0100)]
Cross compiling needs host and build settings. configure no longer
creates a broken PYTHON_FOR_BUILD variable when --build is missing.

12 years agoJust to be sure, initialize with a copy of the compiler's lib and inc dirs.
Christian Heimes [Wed, 12 Dec 2012 11:56:51 +0000 (12:56 +0100)]
Just to be sure, initialize with a copy of the compiler's lib and inc dirs.

12 years agoFix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
Christian Heimes [Wed, 12 Dec 2012 11:41:00 +0000 (12:41 +0100)]
Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.

12 years agoCode style fixup: No need for double ((parenthesis)) and use {} on an if else.
Gregory P. Smith [Tue, 11 Dec 2012 04:22:31 +0000 (20:22 -0800)]
Code style fixup: No need for double ((parenthesis)) and use {} on an if else.

12 years agoCode style fixup: No need for double ((parenthesis)) and use {} on an if else.
Gregory P. Smith [Tue, 11 Dec 2012 04:20:20 +0000 (20:20 -0800)]
Code style fixup: No need for double ((parenthesis)) and use {} on an if else.