From 4f2c049c044f64e838ca92349d38528363cce76f Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 25 Apr 2016 15:33:12 +0200 Subject: Remove file encoding comments from python files UTF-8 is the default. --- robot/common.py | 2 -- robot/en.py | 2 -- robot/problems/introduction/circle20/common.py | 2 -- robot/problems/introduction/circle20/en.py | 1 - robot/problems/introduction/circle20/sl.py | 2 -- robot/problems/introduction/countlines/common.py | 2 -- robot/problems/introduction/countlines/en.py | 1 - robot/problems/introduction/countlines/naloga10_countLines.py | 3 +-- robot/problems/introduction/countlines/sl.py | 2 -- robot/problems/introduction/followline/common.py | 2 -- robot/problems/introduction/followline/en.py | 1 - robot/problems/introduction/followline/naloga12_followLine.py | 1 - robot/problems/introduction/followline/sl.py | 2 -- robot/problems/introduction/forward/common.py | 2 -- robot/problems/introduction/forward/en.py | 2 -- robot/problems/introduction/forward/sl.py | 2 -- robot/problems/introduction/forward1m/common.py | 2 -- robot/problems/introduction/forward1m/en.py | 1 - robot/problems/introduction/forward1m/sl.py | 2 -- robot/problems/introduction/gyro90/common.py | 2 -- robot/problems/introduction/gyro90/en.py | 1 - robot/problems/introduction/gyro90/naloga07_gyro90.py | 1 - robot/problems/introduction/gyro90/sl.py | 2 -- robot/problems/introduction/gyrosquare/common.py | 2 -- robot/problems/introduction/gyrosquare/en.py | 1 - robot/problems/introduction/gyrosquare/naloga08_gyroSquare.py | 1 - robot/problems/introduction/gyrosquare/sl.py | 2 -- robot/problems/introduction/printcolors/common.py | 2 -- robot/problems/introduction/printcolors/en.py | 1 - robot/problems/introduction/printcolors/naloga09_printColors.py | 1 - robot/problems/introduction/printcolors/sl.py | 2 -- robot/problems/introduction/rotateback/common.py | 2 -- robot/problems/introduction/rotateback/en.py | 1 - robot/problems/introduction/rotateback/naloga11_rotateBack.py | 1 - robot/problems/introduction/rotateback/naloga11_rotateBack_old.py | 1 - robot/problems/introduction/rotateback/old_naloga11_rotateBack.py | 2 +- robot/problems/introduction/rotateback/sl.py | 2 -- robot/problems/introduction/spotturn90/common.py | 2 -- robot/problems/introduction/spotturn90/en.py | 1 - robot/problems/introduction/spotturn90/sl.py | 2 -- robot/problems/introduction/square20/common.py | 2 -- robot/problems/introduction/square20/en.py | 1 - robot/problems/introduction/square20/sl.py | 2 -- robot/problems/introduction/wall1m/common.py | 2 -- robot/problems/introduction/wall1m/en.py | 1 - robot/problems/introduction/wall1m/naloga06_wall1m.py | 1 - robot/problems/introduction/wall1m/naloga06_wall1m_testing.py | 1 - robot/problems/introduction/wall1m/sl.py | 2 -- robot/sl.py | 2 -- 49 files changed, 2 insertions(+), 78 deletions(-) (limited to 'robot') diff --git a/robot/common.py b/robot/common.py index 4811d45..70f4da4 100644 --- a/robot/common.py +++ b/robot/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from server.hints import Hint id = 3 diff --git a/robot/en.py b/robot/en.py index 61314e9..b023373 100644 --- a/robot/en.py +++ b/robot/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Robot' description = 'Introductory Robot course.' diff --git a/robot/problems/introduction/circle20/common.py b/robot/problems/introduction/circle20/common.py index 4d283d0..0979d78 100644 --- a/robot/problems/introduction/circle20/common.py +++ b/robot/problems/introduction/circle20/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/circle20/en.py b/robot/problems/introduction/circle20/en.py index d2c410c..d76930f 100644 --- a/robot/problems/introduction/circle20/en.py +++ b/robot/problems/introduction/circle20/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('robot', 'en') diff --git a/robot/problems/introduction/circle20/sl.py b/robot/problems/introduction/circle20/sl.py index 735458a..9779ecf 100644 --- a/robot/problems/introduction/circle20/sl.py +++ b/robot/problems/introduction/circle20/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - id = 205 name = 'Krog 20 cm' slug = 'Krog 20 cm' diff --git a/robot/problems/introduction/countlines/common.py b/robot/problems/introduction/countlines/common.py index bf5343b..e5e7b0f 100644 --- a/robot/problems/introduction/countlines/common.py +++ b/robot/problems/introduction/countlines/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/countlines/en.py b/robot/problems/introduction/countlines/en.py index 7655b21..4f9f5cf 100644 --- a/robot/problems/introduction/countlines/en.py +++ b/robot/problems/introduction/countlines/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('robot', 'en') diff --git a/robot/problems/introduction/countlines/naloga10_countLines.py b/robot/problems/introduction/countlines/naloga10_countLines.py index 7079f7c..9c8a1f9 100644 --- a/robot/problems/introduction/countlines/naloga10_countLines.py +++ b/robot/problems/introduction/countlines/naloga10_countLines.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print """ Naloga 10: @@ -33,4 +32,4 @@ while time.time()-start < 2.1: stevec += 1 color = c robot.move_tank( 'off', brake_at_end=True ) -print "Stevilo crt:", stevec \ No newline at end of file +print "Stevilo crt:", stevec diff --git a/robot/problems/introduction/countlines/sl.py b/robot/problems/introduction/countlines/sl.py index 1f8ea18..beda7fc 100644 --- a/robot/problems/introduction/countlines/sl.py +++ b/robot/problems/introduction/countlines/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Preštej črte' slug = 'Preštej črte' diff --git a/robot/problems/introduction/followline/common.py b/robot/problems/introduction/followline/common.py index e28ca35..7979ef6 100644 --- a/robot/problems/introduction/followline/common.py +++ b/robot/problems/introduction/followline/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/followline/en.py b/robot/problems/introduction/followline/en.py index 9a588bc..3113497 100644 --- a/robot/problems/introduction/followline/en.py +++ b/robot/problems/introduction/followline/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('robot', 'en') diff --git a/robot/problems/introduction/followline/naloga12_followLine.py b/robot/problems/introduction/followline/naloga12_followLine.py index e6e19a0..db6eb32 100644 --- a/robot/problems/introduction/followline/naloga12_followLine.py +++ b/robot/problems/introduction/followline/naloga12_followLine.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print( """ Naloga 12: diff --git a/robot/problems/introduction/followline/sl.py b/robot/problems/introduction/followline/sl.py index cdc6e19..9d76c23 100644 --- a/robot/problems/introduction/followline/sl.py +++ b/robot/problems/introduction/followline/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Sledenje črti' slug = 'Sledenje črti' diff --git a/robot/problems/introduction/forward/common.py b/robot/problems/introduction/forward/common.py index 0793d72..60666ae 100644 --- a/robot/problems/introduction/forward/common.py +++ b/robot/problems/introduction/forward/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/forward/en.py b/robot/problems/introduction/forward/en.py index 400c452..49c7106 100644 --- a/robot/problems/introduction/forward/en.py +++ b/robot/problems/introduction/forward/en.py @@ -1,5 +1,3 @@ -# coding=utf-8 - import server mod = server.problems.load_language('robot', 'en') diff --git a/robot/problems/introduction/forward/sl.py b/robot/problems/introduction/forward/sl.py index cd9b096..9fd206a 100644 --- a/robot/problems/introduction/forward/sl.py +++ b/robot/problems/introduction/forward/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Naprej 3s' slug = 'Naprej 3s' diff --git a/robot/problems/introduction/forward1m/common.py b/robot/problems/introduction/forward1m/common.py index 201a981..42bf1ca 100644 --- a/robot/problems/introduction/forward1m/common.py +++ b/robot/problems/introduction/forward1m/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/forward1m/en.py b/robot/problems/introduction/forward1m/en.py index f47d088..80c4942 100644 --- a/robot/problems/introduction/forward1m/en.py +++ b/robot/problems/introduction/forward1m/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('robot', 'en') diff --git a/robot/problems/introduction/forward1m/sl.py b/robot/problems/introduction/forward1m/sl.py index f6209eb..94ead8b 100644 --- a/robot/problems/introduction/forward1m/sl.py +++ b/robot/problems/introduction/forward1m/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Naprej 1m' slug = 'Naprej 1m' diff --git a/robot/problems/introduction/gyro90/common.py b/robot/problems/introduction/gyro90/common.py index 1828001..b29b783 100644 --- a/robot/problems/introduction/gyro90/common.py +++ b/robot/problems/introduction/gyro90/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/gyro90/en.py b/robot/problems/introduction/gyro90/en.py index 12c782c..865d124 100644 --- a/robot/problems/introduction/gyro90/en.py +++ b/robot/problems/introduction/gyro90/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'en') diff --git a/robot/problems/introduction/gyro90/naloga07_gyro90.py b/robot/problems/introduction/gyro90/naloga07_gyro90.py index 84d4ca1..b0340b3 100644 --- a/robot/problems/introduction/gyro90/naloga07_gyro90.py +++ b/robot/problems/introduction/gyro90/naloga07_gyro90.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print (""" Naloga 7: diff --git a/robot/problems/introduction/gyro90/sl.py b/robot/problems/introduction/gyro90/sl.py index c0f9451..b8b3f25 100644 --- a/robot/problems/introduction/gyro90/sl.py +++ b/robot/problems/introduction/gyro90/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Žiroskop 90' slug = 'Žiroskop 90' diff --git a/robot/problems/introduction/gyrosquare/common.py b/robot/problems/introduction/gyrosquare/common.py index 79ae131..9228fcf 100644 --- a/robot/problems/introduction/gyrosquare/common.py +++ b/robot/problems/introduction/gyrosquare/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/gyrosquare/en.py b/robot/problems/introduction/gyrosquare/en.py index bbd389c..da53138 100644 --- a/robot/problems/introduction/gyrosquare/en.py +++ b/robot/problems/introduction/gyrosquare/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'en') diff --git a/robot/problems/introduction/gyrosquare/naloga08_gyroSquare.py b/robot/problems/introduction/gyrosquare/naloga08_gyroSquare.py index ec0dd2f..d7c94f2 100644 --- a/robot/problems/introduction/gyrosquare/naloga08_gyroSquare.py +++ b/robot/problems/introduction/gyrosquare/naloga08_gyroSquare.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print (""" Naloga 8: diff --git a/robot/problems/introduction/gyrosquare/sl.py b/robot/problems/introduction/gyrosquare/sl.py index 7d1f832..5de4f35 100644 --- a/robot/problems/introduction/gyrosquare/sl.py +++ b/robot/problems/introduction/gyrosquare/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Kvadrat z žiroskopom' slug = 'Kvadrat z žiroskopom' diff --git a/robot/problems/introduction/printcolors/common.py b/robot/problems/introduction/printcolors/common.py index 79f4d2a..368d2b6 100644 --- a/robot/problems/introduction/printcolors/common.py +++ b/robot/problems/introduction/printcolors/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/printcolors/en.py b/robot/problems/introduction/printcolors/en.py index bb57c9a..dd90265 100644 --- a/robot/problems/introduction/printcolors/en.py +++ b/robot/problems/introduction/printcolors/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'en') diff --git a/robot/problems/introduction/printcolors/naloga09_printColors.py b/robot/problems/introduction/printcolors/naloga09_printColors.py index 2e9d323..0e41842 100644 --- a/robot/problems/introduction/printcolors/naloga09_printColors.py +++ b/robot/problems/introduction/printcolors/naloga09_printColors.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print (""" Naloga 9: diff --git a/robot/problems/introduction/printcolors/sl.py b/robot/problems/introduction/printcolors/sl.py index c705eaa..27e90f5 100644 --- a/robot/problems/introduction/printcolors/sl.py +++ b/robot/problems/introduction/printcolors/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Zaznavanje barv' slug = 'Zaznavanje barv' diff --git a/robot/problems/introduction/rotateback/common.py b/robot/problems/introduction/rotateback/common.py index 7c8ce44..3fc3f52 100644 --- a/robot/problems/introduction/rotateback/common.py +++ b/robot/problems/introduction/rotateback/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/rotateback/en.py b/robot/problems/introduction/rotateback/en.py index 5d8d059..e377762 100644 --- a/robot/problems/introduction/rotateback/en.py +++ b/robot/problems/introduction/rotateback/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'en') diff --git a/robot/problems/introduction/rotateback/naloga11_rotateBack.py b/robot/problems/introduction/rotateback/naloga11_rotateBack.py index 2677f05..cafb78a 100644 --- a/robot/problems/introduction/rotateback/naloga11_rotateBack.py +++ b/robot/problems/introduction/rotateback/naloga11_rotateBack.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print (""" Naloga 11: Robot naj drži smer - če ga obrnemo iz začetne smeri, naj se zasuka nazaj v prvotno smer. Ob pritisku na stikalo, naj se resetira (smer nastavi na 0). diff --git a/robot/problems/introduction/rotateback/naloga11_rotateBack_old.py b/robot/problems/introduction/rotateback/naloga11_rotateBack_old.py index 39ab3bb..9585a19 100644 --- a/robot/problems/introduction/rotateback/naloga11_rotateBack_old.py +++ b/robot/problems/introduction/rotateback/naloga11_rotateBack_old.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print """ Naloga 11: diff --git a/robot/problems/introduction/rotateback/old_naloga11_rotateBack.py b/robot/problems/introduction/rotateback/old_naloga11_rotateBack.py index a14c91d..df89cff 100644 --- a/robot/problems/introduction/rotateback/old_naloga11_rotateBack.py +++ b/robot/problems/introduction/rotateback/old_naloga11_rotateBack.py @@ -1,5 +1,5 @@ #!/usr/bin/python -# coding=utf-8 + import sys sys.path.append('/home/user/codeq') import time diff --git a/robot/problems/introduction/rotateback/sl.py b/robot/problems/introduction/rotateback/sl.py index 3242a80..4b0b4e6 100644 --- a/robot/problems/introduction/rotateback/sl.py +++ b/robot/problems/introduction/rotateback/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Drži smer' slug = 'Drži smer' diff --git a/robot/problems/introduction/spotturn90/common.py b/robot/problems/introduction/spotturn90/common.py index e01de39..8ff47ca 100644 --- a/robot/problems/introduction/spotturn90/common.py +++ b/robot/problems/introduction/spotturn90/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/spotturn90/en.py b/robot/problems/introduction/spotturn90/en.py index 348c517..93d215e 100644 --- a/robot/problems/introduction/spotturn90/en.py +++ b/robot/problems/introduction/spotturn90/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'en') diff --git a/robot/problems/introduction/spotturn90/sl.py b/robot/problems/introduction/spotturn90/sl.py index e3541c0..6f512ae 100644 --- a/robot/problems/introduction/spotturn90/sl.py +++ b/robot/problems/introduction/spotturn90/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Obrat na mestu 90' slug = 'Obrat na mestu 90' diff --git a/robot/problems/introduction/square20/common.py b/robot/problems/introduction/square20/common.py index ce8bc14..0b3d828 100644 --- a/robot/problems/introduction/square20/common.py +++ b/robot/problems/introduction/square20/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/square20/en.py b/robot/problems/introduction/square20/en.py index 907acfe..a692bb2 100644 --- a/robot/problems/introduction/square20/en.py +++ b/robot/problems/introduction/square20/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'en') diff --git a/robot/problems/introduction/square20/sl.py b/robot/problems/introduction/square20/sl.py index 50b335f..2ac005b 100644 --- a/robot/problems/introduction/square20/sl.py +++ b/robot/problems/introduction/square20/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Kvadrat 20 cm' slug = 'Kvadrat 20 cm' diff --git a/robot/problems/introduction/wall1m/common.py b/robot/problems/introduction/wall1m/common.py index e8a5917..8ad28bd 100644 --- a/robot/problems/introduction/wall1m/common.py +++ b/robot/problems/introduction/wall1m/common.py @@ -1,5 +1,3 @@ -# coding=utf-8 - from python.util import has_token_sequence, string_almost_equal, \ string_contains_number, get_tokens, get_numbers, get_exception_desc from server.hints import Hint diff --git a/robot/problems/introduction/wall1m/en.py b/robot/problems/introduction/wall1m/en.py index ec91c7b..d55e22f 100644 --- a/robot/problems/introduction/wall1m/en.py +++ b/robot/problems/introduction/wall1m/en.py @@ -1,4 +1,3 @@ -# coding=utf-8 import server mod = server.problems.load_language('python', 'en') diff --git a/robot/problems/introduction/wall1m/naloga06_wall1m.py b/robot/problems/introduction/wall1m/naloga06_wall1m.py index e3be37c..6459043 100644 --- a/robot/problems/introduction/wall1m/naloga06_wall1m.py +++ b/robot/problems/introduction/wall1m/naloga06_wall1m.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print (""" Naloga 6: diff --git a/robot/problems/introduction/wall1m/naloga06_wall1m_testing.py b/robot/problems/introduction/wall1m/naloga06_wall1m_testing.py index a7e449c..b2904c5 100644 --- a/robot/problems/introduction/wall1m/naloga06_wall1m_testing.py +++ b/robot/problems/introduction/wall1m/naloga06_wall1m_testing.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# coding=utf-8 print (""" Naloga 6: diff --git a/robot/problems/introduction/wall1m/sl.py b/robot/problems/introduction/wall1m/sl.py index cbb27ed..67171ab 100644 --- a/robot/problems/introduction/wall1m/sl.py +++ b/robot/problems/introduction/wall1m/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Pelji do zida' slug = 'Pelji do zida' diff --git a/robot/sl.py b/robot/sl.py index daf0496..ed08691 100644 --- a/robot/sl.py +++ b/robot/sl.py @@ -1,5 +1,3 @@ -# coding=utf-8 - name = 'Robot' description = 'Uvodni tečaj za robota.' -- cgit v1.2.1