__author__ = 'nikolojedison'
import wpilib
from wpilib.command import PIDSubsystem

class Mast(PIDSubsystem):
    kBack = 4.5

    def __init__(self, robot)
        super().__init__(1, 0, 0) #__init__(P, I, D)
        self.robot = robot

        self.mast_pot = wpilib.AnalogPotentiometer(0)
        self.motor = wpilib.Jaguar(5)

    def initDefaultCommand(self):
        pass

    def log(self):
        wpilib.SmartDashboard.putData("Mast Tilt", self.mast_pot) #publishes to the Dash

    def returnPIDInput(self):
        return self.mast_pot.get()

    def usePIDOutput(self, output):
        self.motor.set(output)

    def isBack(self):
        self.mast_pot.get() > self.kBack

    def isForward(self):
        not self.isBack()

@@ -149,16 +149,17 @@
 , robot)
+:
 %0A       

Fixed the def __init__