[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] musicxml2ly: Coding style (getting rid of exceptions, using dict

From: Reinhold Kainhofer
Subject: [PATCH] musicxml2ly: Coding style (getting rid of exceptions, using dict.get (key, default) instead of dict[key])
Date: Mon, 20 Aug 2007 10:45:18 +0200
User-agent: KMail/1.9.6

Coding style:
-) instead of accessing dicts by dict[key], use dict.get (key)
-) instead of try:... except KeyError:.. use dict.get (key) and test for None 


Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden,
 * Financial and Actuarial Mathematics, TU Wien,
 * K Desktop Environment,, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien",

Attachment: 2007-08-20_0001-Coding-style.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]