Changeset 3514


Ignore:
Timestamp:
Jul 4, 2007, 2:16:32 AM (18 years ago)
Author:
bird
Message:

spaces -> tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-apps/prefix-portage/pym/portage/__init__.py

    r3513 r3514  
    23722372                        raise ValueError(fd_pipes)
    23732373                # bird: XXX: pty and termios.tcgetattr doesn't work/exist on OS/2 yet.
    2374         if sys.platform == "os2knix":
     2374                if sys.platform == "os2knix":
    23752375                        pr, pw = os.pipe()
     2376                        fd_pipes.setdefault(0, sys.stdin.fileno())
    23762377                        mypids.extend(portage.process.spawn(('tee', '-i', '-a', logfile),
    2377                                       returnpid=True, fd_pipes={0:pr, 1:fd_pipes[1], 2:fd_pipes[2]}))
     2378                                returnpid=True, fd_pipes={0:pr, 1:fd_pipes[1], 2:fd_pipes[2]}))
    23782379                        os.close(pr)
    23792380                        fd_pipes[1] = pw
    23802381                        fd_pipes[2] = pw
    23812382                        keywords["fd_pipes"] = fd_pipes
    2382         else:
     2383                else:
    23832384                        from pty import openpty
    23842385                        master_fd, slave_fd = openpty()
     
    24342435                        fd_pipes[2] = slave_fd
    24352436                        keywords["fd_pipes"] = fd_pipes
    2436    
     2437
    24372438        features = mysettings.features
    24382439        restrict = mysettings.get("PORTAGE_RESTRICT","").split()
Note: See TracChangeset for help on using the changeset viewer.