* duzeltmeye calis indentation hatalarini

This commit is contained in:
Eray Özkural
2005-08-10 17:15:45 +00:00
parent 54bb49fb73
commit a22d97e134
3 changed files with 18 additions and 17 deletions
+10 -9
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Project SYSTEM "Project-3.7.dtd">
<!-- Project file for project pisi -->
<!-- Saved: 2005-08-10, 19:32:09 -->
<!-- Saved: 2005-08-10, 20:16:49 -->
<!-- Copyright (C) 2005 PiSi Development Team, pisi@uludag.org.tr -->
<Project version="3.7">
<ProgLanguage mixed="0">Python</ProgLanguage>
@@ -129,11 +129,6 @@
<Dir>actionsapi</Dir>
<Name>kde.py</Name>
</Source>
<Source>
<Dir>pisi</Dir>
<Dir>actionsapi</Dir>
<Name>pisitools_functions.py</Name>
</Source>
<Source>
<Dir>pisi</Dir>
<Dir>actionsapi</Dir>
@@ -306,11 +301,12 @@
<Name>version.py</Name>
</Source>
<Source>
<Dir>pisi</Dir>
<Name>exception.py</Name>
<Name>setup.py</Name>
</Source>
<Source>
<Name>setup.py</Name>
<Dir>pisi</Dir>
<Dir>actionsapi</Dir>
<Name>pisitoolsfun.py</Name>
</Source>
</Sources>
<Forms>
@@ -323,6 +319,11 @@
<Other>
<Name>pisi-cli</Name>
</Other>
<Other>
<Dir>pisi</Dir>
<Dir>actionsapi</Dir>
<Name>pisitoolsfun</Name>
</Other>
</Others>
<MainScript>
<Name>pisi-cli</Name>
+6 -6
View File
@@ -44,12 +44,12 @@ class ComarIface:
# NOTE: COMAR RPC is using network byte order (big endian)
fmt = "!ii"
for a in args:
a = str(a) # damn unicode
fmt += "h%dsB" % (len(a))
size += 2 + len(a) + 1
args2.append(len(a))
args2.append(a.encode("utf-8"))
args2.append(0)
a = str(a) # damn unicode
fmt += "h%dsB" % (len(a))
size += 2 + len(a) + 1
args2.append(len(a))
args2.append(a.encode("utf-8"))
args2.append(0)
pak = struct.pack(fmt, (cmd << 24) | size, id, *args2)
return pak
Regular → Executable
+2 -2
View File
@@ -114,8 +114,8 @@ def getPatches(filename, pkgName, version):
patched = False
for line in fileObj:
line = line.strip()
if line.startswith('#'):
continue
if line.startswith('#'):
continue
p = rc("\Aepatch ").search(line)
if not p: