← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2260: in ./examples/rotatingCylinder.py encoding is fixed

 

------------------------------------------------------------
revno: 2260
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-05-28 12:11:51 +0200
message:
  in ./examples/rotatingCylinder.py encoding is fixed
modified:
  examples/rotatingCylinder.py


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'examples/rotatingCylinder.py'
--- examples/rotatingCylinder.py	2010-05-08 20:24:44 +0000
+++ examples/rotatingCylinder.py	2010-05-28 10:11:51 +0000
@@ -1,4 +1,6 @@
-#encoding:UTF-8
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
 """The script demonstrates rotating cylinder, created with GTS-help (http://gts.sourceforge.net/).
 Inside the cylinder there are a "cloud" of spheres."""