From c9fba38ea7b4de0ae596f7e98f28773ff6c98231 Mon Sep 17 00:00:00 2001 From: Tom Claus Date: Mon, 24 Sep 2012 17:52:04 +0300 Subject: [PATCH] IndentationError Fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed the following erro: IndentationError: unindent does not match any outer indentation level   File "./raspiwrite.py", line 277     SDsnip = SD.replace(' ', '')[:-1] --- raspiwrite.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/raspiwrite.py b/raspiwrite.py index 054f93a..dafb762 100755 --- a/raspiwrite.py +++ b/raspiwrite.py @@ -272,10 +272,10 @@ def transfer(file,archiveType,obtain,SD,URL): #unzips the disk image SDsnip = "/dev/mmcblk" + SD[11] else: if OS[0] != 'Darwin': - SDsnip = SD.replace(' ', '')[:-1] - else: - # remove weird partition notation in OS X partition names - SDsnip = SD.replace(' ', '')[:-2] + SDsnip = SD.replace(' ', '')[:-1] + else: + # remove weird partition notation in OS X partition names + SDsnip = SD.replace(' ', '')[:-2] print path print '\n\n###################################################################'