Commit 85d85794f91671fdf2a6b7eb9497bf68239cd41d
1 parent
8e2b6089
Remove unnecessary semicolon from Python scripts.
Showing
1 changed file
with
5 additions
and
5 deletions
cscripts/csiactobs.py
| @@ -501,14 +501,14 @@ class csiactobs(ctools.cscript): | @@ -501,14 +501,14 @@ class csiactobs(ctools.cscript): | ||
| 501 | self._log("\n") | 501 | self._log("\n") |
| 502 | 502 | ||
| 503 | # Append observation to XML and set attributes | 503 | # Append observation to XML and set attributes |
| 504 | - obs = lib.append("observation"); | ||
| 505 | - obs.attribute("name", object_name); | ||
| 506 | - obs.attribute("id", str(obs_id)); | ||
| 507 | - obs.attribute("instrument", telescope); | 504 | + obs = lib.append("observation") |
| 505 | + obs.attribute("name", object_name) | ||
| 506 | + obs.attribute("id", str(obs_id)) | ||
| 507 | + obs.attribute("instrument", telescope) | ||
| 508 | 508 | ||
| 509 | # Append event file | 509 | # Append event file |
| 510 | ev = gammalib.GXmlElement("parameter name=\"EventList\"") | 510 | ev = gammalib.GXmlElement("parameter name=\"EventList\"") |
| 511 | - ev.attribute("file", eventfile); | 511 | + ev.attribute("file", eventfile) |
| 512 | 512 | ||
| 513 | # Append effective area | 513 | # Append effective area |
| 514 | aeff = gammalib.GXmlElement("parameter name=\"EffectiveArea\"") | 514 | aeff = gammalib.GXmlElement("parameter name=\"EffectiveArea\"") |