Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. musicman (musicman@nu.federati.net)'s status on Friday, 03-Aug-2018 16:37:09 EDT musicman musicman
    Any #python geniuses got any ideas as to why this would work for one call, but not a bulk call?

    p4Types = dict ()
    print( "Fetching file information..." )
    results = p4.run_fstat('-Os', '-F', '^action=delete & ^headAction=delete & ^headAction=move/delete', '...' + extension)
    for result in results:
    f = result[ 'depotFile' ]
    f = p4MarshalString( f )
    t = None
    if 'type' in result:
    t = result[ 'type' ]
    elif 'headType' in result:
    t = result[ 'headType' ]
    t = p4MarshalString( t )
    if not t in p4Types:
    p4Types[ t ] = list ()
    p4Types[ t ].append( f )

    full script at https://github.com/gorlak/p4scripts/blob/master/p4type.py
    In conversation Friday, 03-Aug-2018 16:37:09 EDT from nu.federati.net permalink

    Attachments

    1. Invalid filename.
      gorlak/p4scripts
      from GitHub
      p4scripts - Perforce helper scripts
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.