Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tcp-software/python-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: gabeibarra/python-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jun 4, 2015

  1. Update shift_planning.py for Python3

    Dependencies:
    -urllib2 module is part of urllib in Python3. All modules needed in this script are found in urllib.request and urllib.parse
    
    Updated "perform_request" function:
    -urllib.urlencode -> urllib.parse.urlencode
    -urllib2.Request -> urllib.request.Request
    -urllib2.urlopen -> urllib.request.urlopen
    -data needed to be encoded for "Post" method, so added binary_data variable.
    -'.has_key()' not valid in Python3:
    --if response.has_key('error'): -> if 'error' in response:
    --if response.has_key('token'): -> if 'token' in response:
    gabeibarra committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    9d269cd View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2015

  1. Update shift_planning.py

    typo line 115
    gabeibarra committed Jun 10, 2015
    Configuration menu
    Copy the full SHA
    4ff0af7 View commit details
    Browse the repository at this point in the history
Loading