Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fhdl/structure: style fix

  • Loading branch information...
commit b6fe3ace058ba8ccb57f71e5ce9b9052f8955882 1 parent 2a4cc38
Sébastien Bourdeauducq authored March 17, 2013

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  migen/fhdl/structure.py
6  migen/fhdl/structure.py
@@ -89,15 +89,15 @@ def __ge__(self, other):
89 89
 	
90 90
 	def __getitem__(self, key):
91 91
 		if isinstance(key, int):
92  
-			if (key < 0):
  92
+			if key < 0:
93 93
 				key += len(self)
94 94
 			return _Slice(self, key, key+1)
95 95
 		elif isinstance(key, slice):
96 96
 			start = key.start or 0
97 97
 			stop = key.stop or len(self)
98  
-			if (start < 0):
  98
+			if start < 0:
99 99
 				start += len(self)
100  
-			if (stop < 0):
  100
+			if stop < 0:
101 101
 				stop += len(self)
102 102
 			if stop > len(self):
103 103
 				stop = len(self)

0 notes on commit b6fe3ac

Please sign in to comment.
Something went wrong with that request. Please try again.